DISQUS

DISQUS Hello! Life is grand is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

find :first vs. find :all in ActiveResource

Started by paulmwatson · 10 months ago

Anybody know how to differentiate between a find(:first) and a find(:all) call on an ActiveResource system?

# Post.find(:all)
Processing IndexController#index (for 127.0.0.1 at 2008-01-22 00:24:08) [GET]
Parameters: {”action” ... Continue reading »

3 comments

  • Anyone else find the "Active" prefix used in the names of Rails components a grating reminder of a certain Microsoft theme from the '90s?

    (yeah, yeah, i'm sure Rails has a much better reason for using it than MS did, but it doesn't matter, i'll always associate it with COM BS, the way i'll always associate *Gator with shady adware)
  • hehe, the naming does remind me of Microsoft circa the '90s. And Rails doesn't have a good reason why they call it Active*, they just do.
  • Does Post.find(:one) work as expected?

Add New Comment

Returning? Login