RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

swordray — 3 posts

http://github.com/swordray

In a Ruby on Rails project, all migration files generate into the same directory db/migrate. It's enough for simple projects, but not that good for large modulized projects. It is inconvenient to review thousands of files in the same directory for one project.

Since MVC directories are modular, the migration directory should the same. It's expected to be structured and clear. That's the reason I release the gem modular_migration. Just include it in your Gemfile and using Rails generator as usual.

Source code and issue tracking: https://github.com/swordray/modular_migration. Welcome to star, fork and pull request at GitHub.
I just wrote a post about how to Create Install and Deploy a Ruby on Rails App in Five Minutes. Using open source force you can easily create your own websites.
I just launched gem rails-cache_control which can significantly speed up your page. This gem will automatically add HTTP Cache-control header when caches_action expires_in specified. You do not need write a single line but just included it in Gemfile.