ruby on rails - How do I create a seed file based on my development database? -


i want assemble data , settings of rails application offline , push production. ideal scenario if set application state offline locally , have exact same data , application code state in server in production.

is there way automatically generate seed file based on data in current development database?

there couple of gems provide you're looking e.g. seed_dump, https://github.com/rroblak/seed_dump. question may - create seed file data in database


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -