Displaying 2 results from an estimated 2 matches for "errorraising".
2005 Feb 02
1
Error when changing from AR 1.0.1 to 1.6
...class User < ActiveRecord::Base
has_many :post_votes, :foreign_key => ''voter_id''
has_many :topic_subscriptions, :dependent => true
has_many :posts
has_many :topic_reads, :dependent => true
def self.inheritance_column() ''role'' end
include ErrorRaising, RForum::Localization, ActiveRecord::Mixins::Touch
attr_accessor :old_password, :new_password, :retyped_password
# methods
[...]
end
maybe you got an idea what i should do - im still pretty new to rails
--
thanks,
Roman mailto:rot-hxbVNg70ZfReoWH0uzbU5w@public.g...
2005 Dec 22
11
rforum engine
...dencies_extensions.rb,
but couldnt see the answer.
2) In my app''s init_engine.rb I have to put
require ''common_model_behaviors'' # 1
require RAILS_ROOT + ''/config/app.rb'' # 2
When I leave out line 1, I get errors such as "uninitialized constant
ErrorRaising" (which is defined in ''common_model_behaviors''). But that
very same file is loaded inside the app.rb! So I''m confused why both
lines 1 and 2 are required, when line 2 seems to me it should be
sufficient.
I''ve been trying to figure this out for too long now....