Displaying 2 results from an estimated 2 matches for "use_orm".
2007 Nov 07
2
merb 0.4.0 session issue
...this problem.
I was running on merb edge fine a few days ago. Last night I went to
merb 0.4.0 via gem install and now any call to session[:foo] causes an
error >> undefined method ''[]'' for nil:NilClass
I have uninstalled and reinstalled merb with no luck.
dependencies.rb
use_orm :activerecord
merb.yml
:session_store: active_record
Gems
merb 0.4.0
merb_activerecord 0.4.2
Mac OSX
Any help appreciated.
2007 Dec 13
2
Trying to use ActiveRecord STI but fails
Hi all,
I''m wondering about my sanity here. There''s probably something simple I
overlooked. First off, I have close to zero experience with Merb.
1. I configured use_orm :activerecord in config/dependencies.rb;
2. I have a file named app/models/measurement.rb which looks like this:
class Measurement < Observation
end
3. I have another file named app/models/observation.rb which looks like
this:
class Observation < ActiveRecord::Base
belongs_to :feature...