7H3LaughingMan wrote:
> Alright I wrote a test and figured out what was wrong turned out that
> I had the form submitting the data to the edit section of the
> controller instead of the update section. 

("Method", not "section".)

> I fixed it and it all works
> out, when you use update_attributes it does use the override of the
> set method.

OK.  I couldn't remember for sure offhand.

> 
> Now then my only question now is where can I put the universal methods
> that are going to be used by Models and Views, and Controllers /
> Helpers if they need to be used by them. I read somewhere where you
> would put it but since then I have forgotten and can't find it again.

What universal methods?  You don't need any for the case at hand.

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