Alright, I had a big brain fart with this one. I was confusing the
syntax with define_method.
It doesn't work because it's calling model.content('some content').
What I need is model.content = 'some content'.
So the correct invocation would be model.send('content=', 'some
content').
Sorry for that, total not-thinking on my part.
--
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/aa31fbd5460f82077b4654c476ad9a12%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.