Ryan Bigg wrote: > Or I think you can do *args for the receivIng method and then call it > like method(product_attributes) and that will pass the array to the > method
Thanks Ryan. Can you explain more about how *args would work? I'm googling for more info, but can't seem to find a good tutorial on it. -- 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 -~----------~----~----~----~------~----~------~--~---

