> BTW, this seems like the sort of behaviour that one might want to have
> quite often in a model, to prevent form submission from changing 'nil'
> to "".  Maybe i'll put it into a macro, i'll post up my code here if i
> do.

I don't recall the name, but there is a plugin on  
agilewebdevelopment.com/plugins that does this automatically.

This may have been it... looks like it will do what you want in any  
case.

http://agilewebdevelopment.com/plugins/stripattributes

-philip

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to