Colin Law wrote in post #1072606: > On 16 August 2012 19:20, arturo drlt <[email protected]> wrote:
> > What is current_contribuyente? > > Colin current_contribuyente is a method that works similar to current_user work like these: def current_contribuyente current_user.contribuyente end it just a custom current_user that retrieves a model (contribuyente) for the current_user contribuente has_many :comps -- 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 https://groups.google.com/groups/opt_out.

