I would say 'pass the full object' so you're ready to implement more functionality in your method without reviewing every call you have around..
On Apr 1, 8:39 am, Fernando Perez <[email protected]> wrote: > Hi, > > Is it a good idea to pass a full object as an argument, or is it better > to only give minimum info to the method? > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---

