Tag Archives: Rails3

Rails 3: ActiveRecord

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 [...]

Rails3, RSpec2 and WebMock

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

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 [...]