First day diving in to ROR and Ruby…
My question is how do you define methods with in the model class and/or
should I even be doing this?
It is my understanding that you should put as much of the business logic
into the model as possible. I want to do some data manipulation before
I things are submitted to the database
IE (Create a variable out of two submitted via form, as well as some
Should this all be done in the model? If so how do I declare and call
don’t seem to work for me?
should I define them in the model and call them in controller? This
doesn’t seem right to me?
Any Help would be appropriated.