Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

how to get fields of a table in rails

Model.column_names
e.g. User.column_names
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fields #table #rails
ADD COMMENT
Topic
Name
2+7 =