Sunday, November 22, 2009

Re: [Rails] Re: What is the Ruby idiom for this?

On Sun, 22 Nov 2009, RVince wrote:

> See, I don't htink there IS an easier way -- just a Ruby-occluded way
> called .find_by_sql(["select ..."])
>
> A lot of this syntactic sugar really gets in the way. Rails is great,
> as a web framework -- far superior to something like Struts. But in
> the end, it;s back to JRuby, writing the back end in the C-like
> syntax of Java, and avoiding Ruby and it's idioms, making use of Rails
> this way.

I wasn't saying use Rails, just ActiveRecord. And DBI is fairly light and
gives you database independance.

You know what an ORM is right? That's really nice syntactic sugar.


--
A


--

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate