On Feb 10, 12:53 pm, Tushar Gandhi <[email protected]> wrote: > Hi, > I have "contacts" table. > I have to insert and update "contacts" table. > > Is that be possible to do this without having the "contact.rb" model? > > Can I make direct interaction to the "contacts" table? >
Well ActiveRecord::Base.connection.execute lets you execute arbitrary sql queries, but (except perhaps in the case of bulk inserts) why would you want to rewrite what is already in Active Record ? Fred > Can anyone help me out? > > Thanks, > Tushar Gandhi > -- > Posted viahttp://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.

