7H3LaughingMan wrote:
> Alright I have set it all up and it will convert it to the lowest form
> (and back for debugging purposes), however whenever I try to edit and
> save using @armor.update_attributes(params[:armor]) it fails for some
> reason. 

Fails in what way?

> Here is a link to show you what I did with the model...
> 
> http://pastebin.com/me807521

I'll check it out in detail later on.  On cursory inspection, however, 
it looks like it has a lot of problems; I'll make some suggestions when 
I'm not trying to type on my iPhone. :)

Perhaps Eric's before_save suggestion is the right idea after all.
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

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