Displaying 8 results from an estimated 8 matches for "quoted_column_nam".
Did you mean:
quoted_column_name
2005 Aug 15
0
RE: has_many_belongs_to_many insert issues [CLOSED]
...1.1962\lib\active_record\associations\has_and_belongs_
to_many_association.rb
Method: insert_record
Lines 121 and 123 seem to work as I get something in the breakpointer.
And I guess line 139, since I cannot make the @owner.send work:
"INSERT INTO #{@join_table}
(#{@owner.send(:quoted_column_names, attributes).join('', '')}) " +
"VALUES (#{attributes.values.join('', '')})"
Fails.
More specifically: @owner.send(:quoted_column_names, attributes)
>From my debug in irb, it sounds like attribute contains Strings (at
least in my c...
2008 Jan 16
0
[CruiseControl] RubyOnRails build 8649 failed
...39;'
./test/../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:90:in `run''
Name: test_add_column_not_null_with_default(MigrationTest)
Type: Failure
Message: Exception raised:
Class: <NameError>
Message: <"undefined local variable or method `quoted_column_name'' for #<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:0xb74d5154>">
---Backtrace---
./test/../lib/active_record/connection_adapters/postgresql_adapter.rb:597:in `add_column''
./test/migration_test.rb:209:in `test_add_column_not_null_with_default''
./test...
2007 Oct 07
1
How to store a Mechanize object in the database?
...from /usr/lib/ruby/1.8/yaml/rubytypes.rb:17:in `each''
... 14 levels...
from /var/lib/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:2029:in
`attributes_with_quotes''
from /var/lib/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:2128:in
`quoted_column_names''
from /var/lib/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1813:in
`create_without_callbacks''
from /var/lib/gems/1.8/gems/activerecord-1.15.3/lib/active_record/callbacks.rb:254:in
`create_without_timestamps''
from /var/lib/gems/1.8...
2008 Jun 24
9
ActiveRecord 2.1 Migration support
...t;ActiveRecord::ConnectionAdapters::MysqlAdapter:0xb6fc6f50
@logger=#<ActiveSupport::BufferedLogger:0xb70935f0
@log=#<File:/home/grant/stuff/ruby/rails/auction-demo-mysql/log/development.log>,
@no_block=false,
@auto_flushing=1,
@buffer=[],
@level=0>,
@runtime=0.134179830551147,
@quoted_column_names={"unique_schema_migrations"=>"`unique_schema_migrations`",
"schema_migrations"=>"`schema_migrations`",
"id"=>"`id`",
"auctions"=>"`auctions`",
:version=>"`version`",
:title=>"`tit...
2008 Jun 24
9
ActiveRecord 2.1 Migration support
...t;ActiveRecord::ConnectionAdapters::MysqlAdapter:0xb6fc6f50
@logger=#<ActiveSupport::BufferedLogger:0xb70935f0
@log=#<File:/home/grant/stuff/ruby/rails/auction-demo-mysql/log/development.log>,
@no_block=false,
@auto_flushing=1,
@buffer=[],
@level=0>,
@runtime=0.134179830551147,
@quoted_column_names={"unique_schema_migrations"=>"`unique_schema_migrations`",
"schema_migrations"=>"`schema_migrations`",
"id"=>"`id`",
"auctions"=>"`auctions`",
:version=>"`version`",
:title=>"`tit...
2005 Dec 16
0
ArgumentError on create
...with_quotes''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1749:in
`inject''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1626:in
`attributes_with_quotes''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1718:in
`quoted_column_names''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1448:in
`create_without_callbacks''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:261:in
`create_without_timestamps''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/ti...
2006 Mar 28
4
Problem with ActiveRecord, create, save, and Oracle adapter?
.../oracle_adapter.rb:53:in
`attributes_with_quotes_pre_oracle''
/opt/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/connection_adapters/oracle_adapter.rb:53:in
`attributes_with_quotes''
/opt/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:2031:in
`quoted_column_names''
/opt/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1735:in
`create_without_callbacks''
/opt/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/callbacks.rb:261:in
`create_without_timestamps''
/opt/lib/ruby/gems/1.8/gems/activerecord-1.1...
2007 May 31
0
Rails AR/SQLServer Unit Test: [6912] failed (but getting better)
...8:in `inject''
./test/../lib/active_record/base.rb:2318:in `clone_attributes''
./test/../lib/active_record/base.rb:1822:in `attributes''
./test/../lib/active_record/base.rb:2196:in `attributes_with_quotes''
./test/../lib/active_record/base.rb:2295:in `quoted_column_names''
./test/../lib/active_record/base.rb:1975:in `create_without_callbacks''
./test/../lib/active_record/callbacks.rb:256:in `create_without_timestamps''
./test/../lib/active_record/timestamp.rb:29:in `create''
./test/../lib/active_record/base.rb:1951:...