…apps right out of the gate. Finally, I'll guilt him into reading the Guide to Testing Rails Applications because testing is super important ;)
Conclusion
That's about it, then. I'm hoping that this little strategy will work, and I'm interested in hearing your experiences about getting people started with Rails or web development in general. Shouldn't there be some kind of online school for this sort of thing? It surely doesn't take a masters degree …
Integration Testing Resque with Cucumber -
Why aren't you using git-flow? - Jeff Kreeftmeijer - git-flow. new to me.
Just What Developers Need to Know | Use The Index, Luke! - Database performance for developers
Email Sucks. 5 Time Saving Tips. - picked up on lifehacker, there's an interesting way to cull unknown yet still important email from the rest (email bankruptcy)
Thinking in jQuery id-itis - first comes div-itis …
When in a chat, messages are sent either using the send button or by pressing the enter key. Testing the correct behaviour on button press is straight forward. I'm using Jasmine and jsMocha for testing and jQuery for implementation. beforeEach(function() { // code that disables the sending of messages here
// setup UI.runner for mocking var mock = new Mock(UI.runner);
// add an expectation that raise is never called UI.runner.expects('raise').passing('message_send', …
Intriguingly, Ruby 1.9.2 is only considered to have full, verified support on Debian Linux on 32 bit Intel architectures, with support for OS X 10.5 and 10.6, FreeBSD, Windows, and Solaris considered "best effort." Linux distributions other than Debian are listed in the lower "perhaps" category for support, so running your own tests is more essential than ever before moving to 1.9.2 in production.
Installing
As always, the source can be picked up from …
Debian GNU/Linux 5.0 on IA32. Best Effort We verified that Ruby 1.9.2 works mostly fine on them. And I believe we can keep the 1.9.2 maintained on it.
mswin32, x64-mswin64, mingw32
MacOS X 10.5 ( Intel) and 10.6
FreeBSD 6 and later (amd64, IA32)
Symbian OS Perhaps I think Ruby 1.9.2 works fine on them with small modification, however, it is not verified. Patch is welcome.
Other Linux distributions
Other versions of MacOS X.
cygwin
Testing in Ruby on Rails is incredibly easy. I mean stupidly easily. So easy that if you're not doing it, you are a very, very bad developer and should re-evaluate your career choices. (Yes, I believe in testing that much!) One thing that is not all that easy, however, is object creation and populating your test database. Five years ago when I first started working with Rails the only options we had to get data into the database were fixtures, or hastily written ‘factory'-esque methods custom to each application.
…configure it to listen locally only if you just have a single memcached instance. In Ubuntu/ Debian, you would edit /etc/memcached.conf and ensure that:
-l 127.0.0.1
is in the file. Otherwise memcached will by default listen on all interfaces and be exposed publicly.
Firewall configuration brings another dimension of variability into the mix but I prefer to configure my services to listen correctly first and then determine any additional firewall rules necessary based on the network …
Dev and Test Deployments and Testing
Before you upgrade the real thing, you should at first get familiar with the release by upgrading your dev and test environments.
It's often handy to invite your users to do a brief UAT (user acceptance testing) on your test instance as they might catch something that you or your automated tests haven't.
Picking the Outage Window
Based on your users' usage patterns (as easily identified by web analytics solutions like Google Analytics…
We'd like to invite you to RubyConf Uruguay , which will take place this October on Friday 29th and Saturday 30th, in Montevideo. This will be a single-track conference aimed at developers who want to learn or get up-to-date with Ruby, Ruby on Rails, Sinatra, Testing, SCRUM, JavaScript, SQL vs NoSQL, etc.
If you're interested in speaking at this event, we'll be happy to accept your proposals
RubyConf Uruguay organizers
…made me seriously wistful about the good ol' days of writing Ruby and administering Debian boxen. *
* - this should not be construed as dissatisfaction with my current job, or a criticism of our choice to publish on Apple's platform. To the contrary, I lobbied for the latter out of my desire for the former to continue in a mutually-fruitful way for a long time to come. I don't have to like Apple to do business with or through them.