It''s hard to say off hand without seeing the code - maybe you could
post your view and controller code on Pastie and give us links? It
sounds like the data is not making it from the view to the controller.
On May 9, 11:02 am, Saurav Chakraborty <rails-mailing-l...@andreas-
s.net> wrote:> Hi,
> Im facing a strange problem. I have a user table with some fields out
> there. Rite now I want to add new columns in the database, I did it with
> script/generation migration AddUserField
>
> All things are working fine. I then did rake db:migrate and checked out
> that new columns are added in the database table.But when I want to
> insert data in the newly created tables, the values are not getting
> passed. Can anybody give some idea why is it happening ?
> I checked out in my controller class whether the datas for the new
> columns are getting passed to the controller with puts. But the outputs
> are nil for the new columns.
>
> -Saurav
> --
> Posted viahttp://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---