[Rails] Re: Nothing is being inserted into the database...help!

2010-09-06 Thread Zack Nathan
Frederick Cheung wrote: > On 4 Sep, 20:23, Zack Nathan wrote: >> Hello all, >> >> for some reason nothing is being inserted into the database. I have no >> idea why not! Here is my action: >> > Did you check for any validations failing > > Fred Yep sorry, Iv been busy and hadnt checked my email

[Rails] Re: Nothing is being inserted into the database...help!

2010-09-04 Thread Fernando Perez
And your controller should be put on a diet... -- http://digiprof.tv -- 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-t...@googlegroups.com. To

[Rails] Re: Nothing is being inserted into the database...help!

2010-09-04 Thread Greg Willits
> for some reason nothing is being inserted into the database. I have no > idea why not! Here is my action: The most common cause is that validations are failing, and you're just not seeing that. -- gw -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subs

[Rails] Re: Nothing is being inserted into the database...help!

2010-09-04 Thread Frederick Cheung
On 4 Sep, 20:23, Zack Nathan wrote: > Hello all, > > for some reason nothing is being inserted into the database. I have no > idea why not! Here is my action: > Did you check for any validations failing Fred >   def create >     @information = CalorieKing.new >     @information = CalorieKing.