Splitting Rails routes into multiple files

By ayates.

I was just asked how you would split your Rails routes file into multiple files for instance in the case of having an application frontend and a set of routes serving your application's API.

Now, I have a number of applications which work this way and utilize routing constraints to determine which routes should be used but splitting them into more manageable individual files is a nice idea so, my first thought...

The new goes live!

By ayates.

Dcnet V2.5 HomeThe minor redesign and migration of from Wordpress to RefineryCMS is now complete and live, with the new video gallery for free music/saxophone lessons!

In the last three days since launch the site has already demonstrated a 350% increase in traffic. There is more work to be done here, but the relaunch is off to a good start.

Check it out if you're interested in taking up the saxophone, new lessons daily and more content to come soon.