Displaying 5 results from an estimated 5 matches for "flippyhead".
2006 Feb 07
3
model and controller organization
Hi. I am making an application and its going to have dozens of model
objects and maybe as many controllers.
I want to organize this stuff into logical directories ... like I
used to do in Java (using the package declaration). I am interesting
in learning how RoR handles this seemingly common situation and also
what are best practices using Ruby in general.
Using ./script/generate model
2006 Feb 08
0
configuration.frameworks
I want to add the rails default logger to a set of classes in
addition to the default ActionRecord, ActionController, and
ActionMailer.
This used to be done in environment.rb, but now it seems to be
specified elsewhere.
Where has it gone?
2006 Feb 09
0
Extending ActiveRecord creates TypeError
Hi.
I have want to use the following arrangement: Model < CustomClass <
ActiveRecord::Base
My CustomClass has a bunch of code I want to be held in common to all
my models.
What happens however is that if I access a controller that uses
Model, it works. Then on the second view (hitting reload) I always get:
TypeError (superclass mismatch for class User):
2007 Nov 30
2
which version of backgroundrb to use
Hello
I''ve been using backgroundrb for a while now and love it.
I''ve notices some recent updates and am confused as to which branch/tag is
what.
What''s the difference between these:
new_core/
version010/
version099/
version10/
and trunk, and where does "0.2.2" fit in?
Thanks!
--
Peter T. Brown
peter at wagglelabs.com
http://wagglelabs.com
2006 Feb 13
3
TypeError
What might cause this error?
TypeError (singleton can''t be dumped):
/usr/lib/ruby/1.8/pstore.rb:159:in `dump''
/usr/lib/ruby/1.8/pstore.rb:159:in `dump''
/usr/lib/ruby/1.8/pstore.rb:138:in `transaction''
/usr/lib/ruby/1.8/cgi/session/pstore.rb:90:in `update''
/usr/lib/ruby/1.8/cgi/session/pstore.rb:97:in `close''