Tutorials



Creating multiple models with form objects in Rails.
Update: User MelissaLiberty from Reddit pointed out how they would improve the form object and some of it faults. The form object has been updated to reflect their excellent points. Often, when we start a new Rails app we start with simple control...




Rails Authentication From Scratch. Going Beyond Railscasts
If you have to implement authentication in your rails app, Devise is your safest option. Rolling your own is shooting yourself in the foot.But using Devise didn't feel like coding to me. It's like setting up your new mac by reading instructional b...

Building Tests in Ruby: Expectations and Matchers
When building tests in Ruby, expectations are a very important component. They allow you to set the intended results of the function, method, class, etc. that you are testing. The way that we set expectations in Ruby tests is by using expect(code)...
