I found migrations to be very useful tool to maintain data structures in a rails project. It is clean, easy to understand and fast when it comes to recreate a database. During develoment, I faced several times the same problem: “How to import static data into the database?” Of course, one can create fixture and… Continue reading Loading data in migrations
Month: May 2007
Ruby on Rails with Oracle
I am working on a prototype in an big company and they do store data in Oracle. It took me some time to set up RoR working with Oracle. So, here are the things you need to do. First of all, there is a great tutorial on Oracle site: http://www.oracle.com/technology/pub/articles/haefel-oracle-ruby.html. In fact, you need to:… Continue reading Ruby on Rails with Oracle