Another alternative:

  ...
  @meta[field] = content
  ...

Jeff

On Jul 13, 9:32 am, Dan Berger <rails-mailing-l...@andreas-s.net>
wrote:
> Jamey Cribbs wrote:
> > How about:
>
> > @meta.send("#{field}=", content)
>
> > Jamey
>
> > On Fri, Jul 10, 2009 at 4:31 PM, Dan
>
> That's it. Thanks!
> --
> 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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to