I\'m new to Ruby and Rails and I\'m running Rails 3 on Ruby 1.9.2.
I want to create a model, so I looked at the documentation to get the table definition that I want, bu
You can pass "null".to_sym => false in your rails generate model. For example:
"null".to_sym => false
rails g model client 'ClientName, "null".to_sym => false:string{100}'
This will turn the "null" into a symbol, allowing it to run properly when running db:migrate
db:migrate