Moreover, whatever you are trying to do in rails also, I believe, is wrong & unnecessary. -- अभिनव http://twitter.com/abhinav
On Wed, Sep 9, 2009 at 4:14 PM, Venkat Eee<[email protected]> wrote: > > In application_helper.rb > > def get_set(var) > attr_accessor :myvar > myvar = var > end > > In controller > > @customers = Customer.find(:all) > get_set(@customers) > > > I want to generate get and set method > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

