attractive, usable web applications


Richard's Blog - Design, coding and life in Japan

Richard

ActiveRecord

Doctrine 2 and why you should use it!

If any of you are used to Hibernate in the Java world you will know what I am talking about. But Doctrine 2 is almost exactly the same as Hibernate.

Tags:

Using :include in Rails ActiveRecord call doesnt create a joins query

I am currently writing an Rails app that uses quite a few database calls. I wanted to cut these calls down so I knew I would need to use the :include option in ActiveRecord. I was expecting from what Ryan Bates mentioned in one of his RailsCasts that a nice join would be created for me in one query.

Tags:

Recent Blog Posts

Syndicate content