3 ms·
Rails migrations give you `foreign keys, indexes, constraints` but not `stored procs` - there are hacks to make it work with stored procs if you really really w
by house9-2 8y ago
Rails migrations give you `foreign keys, indexes, constraints` but not `stored procs` - there are hacks to make it work with stored procs if you really really want to. `triggers` are rarely used in rails applications, but nothing to stop you from using them.
The rails model is an ORM (Active Record) and makes working with relational databases a breeze.
Rails migrations f^ing rule:
http://guides.rubyonrails.org/active_record_migrations.html http://guides.rubyonrails.org/active_record_migrations.html