I am looking at the api (activerecord) for the list of special column
names (like changed_at) but I cannot find the appropriate class or
module. Can someone tell me where to look?
Regards,
I am looking at the api (activerecord) for the list of special column
names (like changed_at) but I cannot find the appropriate class or
module. Can someone tell me where to look?
Regards,
James B. pisze:
I am looking at the api (activerecord) for the list of special column
names (like changed_at) but I cannot find the appropriate class or
module. Can someone tell me where to look?Regards,
have a look at this: http://rails.raaum.org/database-conventions.html
don’t know where you can find it in ruby sources.
Piotr N. wrote:
have a look at this: http://rails.raaum.org/database-conventions.html
don’t know where you can find it in ruby sources.
Thanks. That is a very helpful reference.
Does anyone know if this list of special column names is exhaustive?
created_at updated_on lock_version
created_on updated_at type
id #{table_name}_count position
parent_id lft rgt
#(table_name)_id
Regards,
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs