On Thu, Dec 11, 2008 at 4:14 PM, Bob Sanders <[email protected]> wrote: > > 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.
google for: ruby splat operator you feel lucky: http://theplana.wordpress.com/2007/03/03/ruby-idioms-the-splat-operator/ -Michael -- Michael C. Libby www.mikelibby.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 -~----------~----~----~----~------~----~------~--~---

