On 25 Feb 2009, at 13:22, Sarathy .n wrote:

>
>>> D.table_name
> => "orders"
>
>   Though I have different columns in "orders" table ,I get the same
> column_names for "orders" table .
>
ActiveRecord caches the column information - you should probably call  
reset_column_information after changing the table name

Fred
> Please help me.
>
>
>
>
> Regards,
> Sarathy
> -- 
> 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