Displaying 6 results from an estimated 6 matches for "inheritable_attributes".
2008 Mar 14
1
Rails App freezes when accessed
Hi All,
I just had this problem come up today and so far I''m stumped. This
morning, my mongrels were all completely unresponsive. I had to kill
-9 them to get them to go away. I restarted them, but the first time
that they were accessed they froze again. Nothing gets printed to the
logs. I tried starting a single mongrel and accessing it directly.
If I hit CTRL-C before accessing
2006 Jul 19
4
Rails crashes my fcgid/fastcgi/scgi on apache2/lighttpd :<
Or maybe I crash it and don''t know why. Here is the setup:
I have an action that will crash my debian sarge development box
using fcgid, fastcgi and scgi running with Apache2, as well as
fastcgi running with lighttpd, every time. Here is the action from
the controller:
-------------------
def crashme
@orders = Order.find(:all, :order => "`id` ASC", :offset
2014 Apr 14
0
Foundation & Authlogic
...ation or Authlogic to work but not both -
After bundle install when I do a rails g foundation:install I get the
following:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti
ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local
variable o
r method `inheritable_attributes' for ActiveRecord::Base:Class
(NameError)
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/bundler/gems/authlo
gic-a087ad0cba3c/lib/authlogic/acts_as_authentic/base.rb:64:in
`acts_as_authenti
c_modules'
## Gemfile
# Bundle edge Rails instead: gem 'rails', github: '...
2006 Aug 15
0
SystemStackError: stack level too deep
...=> []
>> kw.keyword_results << KeywordResult.new({:title => "foobar", :url =>
"foobar"})
SystemStackError: stack level too deep
from
./script/../config/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb:100:in
`read_inheritable_attribute''
from
./script/../config/../config/../vendor/rails/activerecord/lib/active_record/callbacks.rb:354:in
`callbacks_for''
from
./script/../config/../config/../vendor/rails/activerecord/lib/active_record/callbacks.rb:330:in
`ca...
2006 Jul 05
2
Serialized object behaves weird
Hi!
I got a class named EinsatzFilter which I serialized to session. Before
saving to session it works afterwards I keep getting the message:
"undefined method `to_s'' for #<Person:0x38c6ab8>". "Person" is a from
ActiveRecord::Base inherited class.
Code:
class EinsatzFilter
include ApplicationHelper
attr_reader :personen, :monat, :projekte, :kunde
2007 Sep 18
10
Routes
hi all,
I want to move some routing tasks out of the router and into the
controller. The goal is to make Merb feel less like mod_rewrite and
give the user more control at the controller. The new Router is
simple: it takes the path_info (not the whole request) then outputs a
controller class and some parameters from the path matching. The rest
of the routing would be done at the controller level.