Displaying 6 results from an estimated 6 matches for "configurationerror".
2008 Sep 03
0
puppetrun error:ConfigurationError: Invalid pattern HOST
when I connect puppetrun to the puppetd d instance, I get the above
warning.
my namespaceauth.conf file is as follows:
[puppetrunner]
allow HOST
I can fix the issue by adding the entry twice ( I tried this b/c I am
not sure familiar with ruby, and I thought it might be a bug based on
the return value of split.)
[puppetrunner]
allow HOST,HOST
2006 Jan 11
5
Noob - Associated Tables Find Query
I''m trying to write a football prediction game.
I have a Matches table and a Predictions table.
Each Match :has_many Predictions, and each Prediction :belongs_to a
Match
Each Match has (amongst other things) a Match.match_date field.
Each Prediction has (amongst other things) a User_id field
I''m trying to get a list of all Predictions a particular User has made
which
2006 Feb 19
0
uninitialized constant (NameError)
...nd
main
In (2), I am getting the following
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:892:in
`guard_against_missing_reflections'': Association was not found; perhaps
you misspelled it? You specified :include => :company_office
(ActiveRecord::ConfigurationError)
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:890:in
`guard_against_missing_reflections''
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:846:in
`find_with_associations''
from
/usr/lib/ruby/gems...
2008 Apr 21
0
Lost Polymorphic Associations in development environment causes delegate :blah, :to => to fail
...mments
has_one :profile, :as => :profileable
delegate :email, :to => :profile
end
First call to comment.user.email works just fine the associated
profile object gets loaded and the delegation occurs just fine.
However, a second/subsequent call to comment.user.email throws
ActiveRecord::ConfigurationError: Association named ''profile'' was not
found; perhaps you misspelled it?
The solution I have tried are and none have worked are
1). put a require_dependency ''models/profile'' in environment.rb
2). put a require ''models/profile'' in models/user.rb...
2010 May 07
1
Can't eagerly load a polymorphic association defined in an STI parent class?
If I define an association (in my case a polymorphic one) in an STI
parent class, and try to eagerly load it in a subclass, I get the
following error:
ActiveRecord::ConfigurationError: Association name ''myassoc'' was not
found; perhaps you misspelled it?
If I redefine the same association again in the STI subclass, it
works.
Is this a bug or what?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" gro...
2006 Jul 15
12
Safe way to destroy records
Hello,
how can I check if a destroy was successful?
Is the object only frozen if deleted or do I have to do an additional
find to see if there is a record left?
What happens if an after_destroy callback returns false? Is there always
a rollback?
Markus