How make for get size of a column of the model?
Example:
size = Client.name.size
=> size = 30
How make for get size of a column of the model?
Example:
size = Client.name.size
=> size = 30
Hi Marcelo,
How make for get size of a column of the model?
Example:
size = Client.name.size
=> size = 30
size = Client.columns_hash[‘name’].limit
hth,
Bill
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