search for: square_area

Displaying 2 results from an estimated 2 matches for "square_area".

2005 Apr 15
2
children of objects are not instantiated?
...cuss it again: the important is that something will be changed! 2) The "everything becomes part of the upper object" thing (sorry, couldn''t find another way to name the problem). From the article: <snip> @minersWithSqA = Miner.find_by_sql [ "SELECT m.*, g.square_area FROM gold_claims g, miners m " + " WHERE g.square_area = ? and m.gold_claim_id = g.id", 1000] The big thing to realize is that since Rails classes have dynamic fields, all columns returned by the result set are smashed on the Miner object. In the last query, the Miner ge...
2006 May 04
11
Interesting ActiveRecord vs Hibernate article
For those haven''t seen it yet, Patrick Peak has an interesting article at the Server Side (www.theserverside.com) discussing the differences between the Hibernate (www.hibernate.org) peristence framework and ActiveRecord.  The article can be found here: http://www.theserverside.com/articles/article.tss?l=RailsHibernate .  Patrick Peak is the author of _Hibernate Quickly_ (Manning), which