Displaying 10 results from an estimated 10 matches for "require_association_class".
2005 Jul 07
3
NameError Exception
...ort-1.1.0/lib/active_support/dependencies.rb:172:in
`require_association''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/dependencies.rb:172:in
`require_association''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.11.0/lib/active_record/associations.rb:679:in
`require_association_class''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.11.0/lib/active_record/associations.rb:552:in
`has_and_belongs_to_many_without_reflection''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/dependencies.rb:193:in
`load''
c:/ruby/lib/ruby/gems/1.8/gems/act...
2006 Mar 05
2
depth needed in model()
If there are models of type M in session, and objects of type M
contain objects of type M'', does M'' need to be included in model()?
-- fxn
2006 Jan 10
13
InstantRails 1.0 problems...
Hi,
I have installed InstantRails 1.0 Final on Win XP (Home SP2) and Win 2K 2000.
I was able to get the two apps (cookbook, typo) work fine with Webrick but not with SCGI server. I tried changing the SCGI settings through the InstallRails.exe console so that the Runtime Mode: would be "development" instead of "production" and SCGI port: to 5000 instead of 9998.
2006 Apr 07
2
weird error with rake create_sessions_table
Hi all,
Despite switching to mod_fcgid (which has improved performance),
sessions are still expiring sporadically. I thought I might try
switching to storing them in the db, but I get the following error when
I try to run the rake create_sessions_table command
D:\User\Code\ruby\prometheus>rake create_sessions_table
(in D:/User/Code/ruby/prometheus)
rake aborted!
undefined local variable or
2006 Apr 22
6
STI and type tables?
So by default to get STI, I would have something like:
create_table :items do |t|
t.column "type", :string
t.column "title", :string
end
But if I want to store those type values in a separate table, such
that I have ...
create_table :items do |t|
t.column "item_type_id", :string
t.column "title", :string
2005 Dec 02
8
UserEngine: stack level too deep
...port/lib/active_support/dependencies.rb:209:in
`require_association''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:209:in
`require_association''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations.rb:780:in
`require_association_class''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations.rb:650:in
`has_and_belongs_to_many_without_reflection''
(eval):5:in `has_and_belongs_to_many''
(...
...
many many many times ...
...)
(eval):5:in `has_and_belongs_to_many''
#{RAILS_ROOT}/app...
2006 Mar 01
1
Circular dependency problem
...-1.2.5/lib/active_support/dependencies.rb:179:in
`require_association''
e:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:179:in
`require_association''
e:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:780:in
`require_association_class''
e:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:650:in
`has_and_belongs_to_many_without_reflection''
(eval):5:in `has_and_belongs_to_many''
#{RAILS_ROOT}/app/models/customer.rb:2
#{RAILS_ROOT}/app/views/search/test.rhtml:1
-e:3:in `loa...
2005 Feb 02
1
Error when changing from AR 1.0.1 to 1.6
...:in `require_association''\r
[error] \tfrom C:/dev/ruby/lib/ruby/gems/1.8/gems/actionpack-1.4.0/lib/action_controller/support/dependencies.rb:48:in `require_association''\r
[error] \tfrom C:/dev/ruby/lib/ruby/gems/1.8/gems/activerecord-1.6.0/lib/active_record/associations.rb:580:in `require_association_class''\r
[error] \tfrom C:/dev/ruby/lib/ruby/gems/1.8/gems/activerecord-1.6.0/lib/active_record/associations.rb:218:in `has_many_without_reflection''\r
[error] \tfrom (eval):5:in `has_many''\r
[error] \tfrom C:/dev/granul.at/app/models/user.rb:7\r
the user.rb looks as follows:
c...
2006 Jan 09
7
File_column Dynamic directory
I asked this question earlier and did recieve an answer but I am not
sure Ifully understood the answer as I am getting all sorts of
errors when trying to implement.
Basically I want to add a layer to the path for my files. I have the
following set up in my model class:
file_column :image,
:store_dir => :dynamic_dir
def dynamic_dir
2006 Mar 29
0
Intermittent error - undefined method ''destroy_without_callbacks''
...ate_with''
/vendor/rails/activesupport/lib/active_support/dependencies.rb:75:in
`require_association''
/vendor/rails/activesupport/lib/active_support/dependencies.rb:75:in
`require_association''
/vendor/rails/activerecord/lib/active_record/associations.rb:894:in
`require_association_class''
/vendor/rails/activerecord/lib/active_record/base.rb:981:in
`instantiate_without_callbacks''
/vendor/rails/activerecord/lib/active_record/callbacks.rb:215:in
`instantiate''
/vendor/rails/activerecord/lib/active_record/base.rb:390:in
`find_by_sql''...