mysqlruby-on-rails-3locomotivecms

Locomotive with mysql


I am planning to use Locomotive for a project...But as the official website says it cannot work with MySQL. However my requirement is to use it with MySQL.

Has any one used it with mySQL? Any pointers or advises would be great. Thanks.

Cheers, Abi


Solution

  • Locomotive uses Mongoid - which is an ORM for MongoDB. As such, you cannot use it with MySQL at all, since it leverages some features (dynamic attributes), which traditional RDBMS databases (such as MySQL) do not support.

    That being said, MongoDB is pretty easy to install, so if you can get around your requirement of MySQL, then you should have no problems.