search for: exec_query

Displaying 4 results from an estimated 4 matches for "exec_query".

Did you mean: eset_query
2011 Sep 18
9
Rails 3 and postgresql
I have a simple project created around a very, very simple database: one main table packs with just three rows Column | Type | Modifiers --------+-----------------------------+---------------------------------------------------- id | integer | not null default nextval(''packs_id_seq''::regclass) nombre | character
2012 Sep 18
2
NoMethodError with rake db:migrate
...ELECT name FROM sqlite_master WHERE type = ''table'' AND NOT name = ''sqlite_sequence'' AND name = "schema_migrations" /var/lib/gems/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:248:in `block in exec_query'' /var/lib/gems/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'' /var/lib/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'' /var/lib/gems/1.9.1/gems/activer...
2011 Dec 31
4
Testing Explain Logger Output
Any quick tips? I''ve been getting the SQL Server adapter up to passing for 3.2 and I wanted to test our explain printer. It will be very much like mysql2''s printer. But I think my brain is mush and my meta-fu weak at the moment and I need some help. I tried stubbing ActiveRecord::Base.logger.warn but to no avail. Any thoughts? - Ken -- You received this message because you
2013 Feb 01
0
rake db:migrate failing against oracle
...racle.jdbc.driver.OracleDriver'', :url => ''jdbc:oracle:thin:@localhost:1521:xe'', :username=>''brownbag'', :password=>''brownbag'' ) c = a.connection ct = "CREATE TABLE example (id INT, data VARCHAR(100) )" d = c.exec_query(ct) --- The table is created as expected! Help! Thanks, Cris -- 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 unsubscribe from this group and stop receiving emails from it, send a...