As your application evolves your models change and so does your database. In Rails this is solved using migrations. If you aren’t familiar with the concept of migrations I would suggest you read the rails guides about migrations first.
Data migrations are just migrations that change data in the database.
Consider the following migration. It concatenates the first and last name into just a name. Silly example but it demonstrates the purpose.
Now this should work right? I mean the syntax seems correct and you have rolled back your database and ran it again it works perfectly. So time…
Proper testing of a rails application includes system tests, which are meant to test the app as a complete entity, verify the functionality and find miscommunications between components.
Let’s use a more modern approach and extract it into its…
Software Developer at Renuo AG