Displaying 5 results from an estimated 5 matches for "_adapters".
Did you mean:
adapters
2007 Jul 12
0
[retry] fixture_references: "Mysql::Error #HY000"? (fwd)
...lots of:
1) Error:
test_truth(DeviceTest):
ActiveRecord::StatementInvalid: Mysql::Error: #HY000Field ''description_id'' doesn
''t have a default value: INSERT INTO devices (`id`) VALUES (2)
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection
_adapters/abstract_adapter.rb:128:in `log''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection
_adapters/mysql_adapter.rb:243:in `execute''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/fixtures.r
b:290:in `insert_fixtures''
/u...
2011 Dec 03
1
ActiveRecord Abstract class
...actclass2
end
When I test drive it in rails console, I got the following error:
from (irb):1irb(main):002:0> sb = Subclass.new
ActiveRecord::StatementInvalid: Could not find table ''subclasses''
from
/usr/lib/ruby/gems/1.8/gems/activerecord-3.1.3/lib/active_record/connection_adapters/sqlite_adapter.rb:439:in
`table_structure''
from
/usr/lib/ruby/gems/1.8/gems/activerecord-3.1.3/lib/active_record/connection_adapters/sqlite_adapter.rb:322:in
`columns''
If I take out "self.abstract_class", everything works fine (subclass
object is inserted into abstrac...
2006 Jul 31
0
Issues with has_many, belongs_to and dependency settings
...1.14.3/lib/active_record/callbacks.
rb:320:in `destroy_without_transactions''
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/transactio
ns.rb:122:in `destroy''
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/connection
_adapters/abstract/database_statements.rb:51:in `transaction''
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/transactio
ns.rb:91:in `transaction''
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/transactio
ns.rb:118:in `transac...
2009 Mar 26
1
Error Send Message
.../lib/action_controller/rescue.rb:201:in
`perform_action_without_caching''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/caching/sql_cache.rb:13:in
`passenger_orig_perform_action''
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in
`cache''
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/query_cache.rb:8:in
`cache''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/caching/sql_cache.rb:12:in
`passenger_orig_perform_action''
/us...
2007 Oct 01
10
Error with Mongrel_cluster
...d. Look at tmp/pids/mongrel.8000.pid
and log/mongrel.8000.log for info.
** Starting Mongrel listening at 0.0.0.0:8000
** Changing group to xxxxx.
** Changing user to xxxxx.
** Starting Rails with production environment...
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection
_adapters/oracle_adapter.rb:536: undefined method `define_a_column'' for
class `OCI8::Cursor'' (NameError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependenc
i...