RubyGems Navigation menu

to_activerecord 0.2.0

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

Gemfile
          gem 'to_activerecord', '~> 0.2.0'
  
  
  
  
  
  
  

install
          gem install to_activerecord
  
  
  
  
  
  
  

Authors:

  • Dr Nic Williams

Owners:

Total downloads 4,084

For this version 1,607

Required Ruby Version: None

Links:

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)