On Fri, Sep 28, 2007 at 12:38:15PM +0200, Chris Williams wrote:
> Hi,
> I'm running the trunk version with drb server. In my ferret_server.log I
> get a lot of messages like this:
>
> #method_missing(:add, ["User", {:first_name=>"blah", :comments=>nil,
> :company=>"blah", :phone_day=>""}])
>
> Over and over again.
with aaf trunk you can raise the log level in ferret_server.yml so this
debug message doesn't appear any more:
production:
log_level: warn
> But more importantly, since yesterday doing a search has caused an
> exception:
since yesterday? What did you change?
> A NoMethodError occurred in partners#user_search:
>
> undefined method `each' for :sales_region:Symbol
> [RAILS_ROOT]/vendor/plugins/acts_as_ferret/lib/class_methods.rb:246:in
> `retrieve_records'
>
> Any idea what these could have been caused by?
not yet - I can't seem to find the line the error refers too - what exact
revision are you on? Or could you try that with the latest trunk (rev.
247).
How do you use that symbol in your code?
Cheers,
Jens
--
Jens Krämer
http://www.jkraemer.net/ - Blog
http://www.omdb.org/ - The new free film database
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk