Displaying 1 result from an estimated 1 matches for "sfxobject".
2008 Nov 05
3
Rails 2.1.2, complex find involving complex include, bug?
...conditions,
:limit => batch_size,
:offset=>batch_size*(page -1),
:order=>''TITLE_SORT'',
:include=>[{:sfx_object => [:publishers, :titles] }])
****************
However, in 2.1.2, it raises an error, ActiveRecord can''t find the
SfxObject model class anymore--probably because it''s in a module
namespace, SfxDb::SfxObject. It says:
uninitialized constant SfxObject
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:279:in
`load_missing_constant''
[...]
/usr/lib/ruby/gems/1.8/gems/active...