Displaying 4 results from an estimated 4 matches for "class_vari".
Did you mean:
class_var2
2006 Mar 08
4
Performance with many look-up tables
Hi,
I have an app - a first cut ROR - so it''s a bit of a mess. I''m now
trying to clean it up. The app relies on a heap of look-up tables that
are, by and large, static. I''m wondering where and how to initialise
these collections once - so that I don''t have to keep hitting the
database every time I start a new action.
Can I initialise the collections at the
2006 Jun 07
0
Logger in ActionWebService::Base?
I''d like to split up my directly dispatched controller into a layered
dispatch setup with one controller and two services derived from
ActionWebService::Base. However, in doing this I found that logger is
not a class_variable of AWS::Base. This kind of scares me away from
using the layered dispatch mode, as I''d like to have logging in the
method implementations. Is there a clean way of accessing the
Rails::Configuration logger from ActionWebService::Base, or should I
stick with web_service_dispatch_mode :di...
2012 Sep 22
4
Class, Module, Object
>> reload!
Reloading...
=> true
>> puts Class < Module
true
=> nil
>> puts Module < Class
false
=> nil
>> puts Module < Object
true
=> nil
>> puts Object < Module
false
=> nil
>> Object.parent
=> Object
The above indicates that the Class object instance inherits from the
Module object instance and the Module object instance
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