Tag Archives: rails

Rails Association

Spent a day learning how about associations.  Realized that has_and belongs to and the necessary join table isn’t as easy to use as creating a regular join model table and use has_many :through. Join Table = create_join_table Join Model Table = … Continue reading

Posted in RoR | Tagged , , | Leave a comment

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

Rails here we go

Finally moving forward to redoing a website that is all DB driven to a Rails platform.  Designing DB schema and models. woot.  Wish I could bring in a Rails consultant though

Posted in RoR | Tagged | Leave a comment