Tag Archives: helpful

Helpful Rails 4 commands

When creating a table and limiting a column string size rails g scaffold users email:string{50} To set columns in a table to not nullable or set the default value, after the migration file is created, manually open the file and … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment