Methodise
================
Ruby on Rails gem/plugin that adds quick access to instance methods on belongs_to associations.
Example:
class Parent < ActiveRecord::Base
has_many :children, :class_name => 'Child', :foreign_key => :parent_id
end
class Child < ActiveRecord::Base
belongs_to :parent, :class_name => 'Parent', :foreign_key => :parent_id
methodise :parent => [:name, :description]
end
This will create the following instance methods for Child :parent_name and :parent_description.
Project
methodise
Rails gem/plugin which adds quick access to parent model methods
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Dependencies
Project Readme