Hi, I have a remote website that will be sending me some data which I want to save in one of my models. The problem is that it will also send some attributes such as attribute_1, attribute_2, etc which I don't want to save.
Currently if I do: my_model.create(params), it will not pass as it has hash keys that don't map to any attribute in the model, how to make my model skip these unknown attributes in a clean manner? -- 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 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 -~----------~----~----~----~------~----~------~--~---