Rails 3 cheat sheet Part 2: ActiveRecord
Everything you know from Rails 2 still works and will for some time, but there is new cool stuff AND some of the Rails 2 syntax is deprecated and will eventually go away, so you should be aware.
1) Use first, last, all (not find(:first), find(:last) and find(:all)
2) New query [...]
Tag Archives: Rails3
Rails 3: ActiveRecord
September 25, 2010 - 7:36 am
Rails3, RSpec2 and WebMock
May 9, 2010 - 2:32 pm
Yesterday we were deep in the middle of coding using RSpec 2 and Rails 3 and needed to verify that a method made a specific http request. I happily discovered WebMock, which appears to be a next generation FakeWeb. Originally developed by Bartosz Blimke, I was happy to see that Sam Phillips had [...]
Notes from Rails 3 bugmash
January 17, 2010 - 5:16 pm
Blazing Cloud hosted a “Do One Thing for Rails 3″ bugmash and Workshop curriculum hacksession. We had four participants:
Melanie Archer (@mejarc)
Karen Zeller (@karenzeller8)
Sharon Lee
Sarah Allen (@ultrasaurus)
We followed wycats instructions for getting started. Some pre-conditions that weren’t spelled out:
Ruby 1.8.7 is required, which implies a re-install of rubygems (you need 1.3.5+) and your [...]