> Use either count_by_sql(), execute(), or the method higher than > execute() whose > name I forget... > > Also, AR can insert one record for you very easily...
Actually i'm trying to insert multiple data from one table to another table but i take only one data here for example. i try ar-extensions but as i'm using rails 1.2.0 it gives me following error undefined method `expand_hash_conditions_for_aggregates' for #<Class:0x4593c48> which is related to the ar-extensions , activerecord gem i also like to know how to use the count_by_sql(), execute() method Regards, Salil -- 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 -~----------~----~----~----~------~----~------~--~---

