I have wrote an example:

example=Example.find(:all,:joins=>"(select id,"hello" as hello_name from
examples2) as examples3 where examples3.id=examples.id")

I want get the attribute hello_name that not exits in db.
example[0].hello_word not works
example[0].example3.hello_name not works
how can i do?
thanks
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to