RubyGems.org

Find ActiveRecord instances via their ID value. Now you can use 37.to_post instead of Post.find(37). Used in conjunction with the map_by_method gem: [37,103].map_by_to_post

installgem install to_activerecord
Authors

Dr Nic Williams

4,037 total downloads 1,589 for this version
Owners

Cb2b768a5e546b24052ea03334e43676

Gemfile
gem 'to_activerecord', '~> 0.2.0'
Versions
  1. 0.2.0 October 8, 2007 (26 KB)
  2. 0.1.1 June 16, 2007 (26 KB)
  3. 0.1.0 June 15, 2007 (25.5 KB)