I Have a Listings controller and users can add a description. If the description is long, which it should be, I receive this error in Heroku:
Listings controller
A
The input given is too long for a string field, so just change to a text field:
string
text
class ChangeListingsDescriptionTypeToText < ActiveRecord::Migration def change change_column :listings, :description, :text end end
Then run rake db:migrate
rake db:migrate