I've just started learning RoR and i'm really stuck. I've created a new app and i'm trying to add a phone number field to a previously created form (Tickets). I've created the database, added a migration script using :
rails generate migration AddPhoneToTickets phone:string
plus migrated it using :
rake db:migrate
Last, i've added the field to all the relevant html.erb files. When I add a new record to the App, the phone attribute is showed and when I fill it in and click "Update" I receive the message : "Ticket was successfully updated." Unfortunately the phone number isn't saved in the DB and isn't displayed in the listings.
Looking forward to your help.