Category Archives: Deployment

Often inconsistent, troublesome, and difficult to accomplish, this forum is for all discussion related to how-to and best practices for deploying your Rails applications.

Internationalizing Your Rails Application in 34 Languages eBook

We’re very pleased to announce our very on Rails eBook: Internationalizing Your Rails Application in 34 Languages! The goal of this eBook is to help you get your Rails application internationalized–and to kick it off with not one or two, but 34 different languages–all without the expense of hiring a translator! Continue reading

Posted in Deployment | Tagged , , | 8 Comments

MySQL Configuration for Rails

As of Rails 2.0, the helper to generate a new application structure uses SQLite instead of MySQL. While MySQL is more heavyweight, it has some strengths over SQLite, such as power GUI tools, and the ability to rename columns. If you need a MySQL database configuration sample, we have one here! Continue reading

Posted in Deployment, Development | Tagged , , , | 2 Comments

Moving MySQL Databases

Migrations are a wonderful tool. But they’re not enough. Sometimes, you need to pick up your entire database and move it somewhere else. In this post, we discuss how you can use the MySQL command-line tool to export and re-import your database, wholesale, to a new server. Continue reading

Posted in Deployment | Tagged , | Comments Off

Using SQL for complex SELECT/ORDER Criteria

How can you select model objects using a complex SQL criterion (such as ordering by a SUM of values)? The answer is to use the find_by_sql method. You can select complex fields, join tables, and sort on those fields–such as sum fields. Continue reading

Posted in Deployment | Tagged , , | Comments Off