similar to: See Rails::Configuration for more options?

Displaying 7 results from an estimated 7 matches similar to: "See Rails::Configuration for more options?"

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
2006 Feb 17
4
Why doesn''t this work!
I have this in my controller... @tech_standards = TechStandard.find_by_sql("SELECT * FROM tech_standards WHERE subpoint <> 0") Everything is fine except when I look at my view I still get supoints that are 0. When I run this query in my query browser I don''t. View: <select name="resource[tech_standard]" id="tech_standard">
2006 Apr 10
2
Fix log files
What is the code I include in one of my files so that my log files are easier to read? I am using Windows. Thanks. Seth -- Posted via http://www.ruby-forum.com/.
2005 Nov 24
1
Log question
development.log contains quite a few SELECTS on system tables like COLUMNS. Wouldn''t it be more efficient to cache this info? I''m also wondering about strings like "[4;35;1m". What''s their purpose and is it possible to get rid of them? They look like screen coordinates and makes no sense in a text file. Christer Processing ReportController#create (for
2008 Feb 15
3
Ugly, garbled output from autotest
I am getting this horribly ugly output from autotest when a test fails. Normal output from ''rake test'': -- 1) Failure: test_export_format(TaskTest) [./test/unit/task_test.rb:61]: <"Michael Alvarez"> expected but was <nil>. -- Same failure, as seen via autotest: -- 1) Failure: test_export_format(TaskTest) [./test/unit/task_test.rb:61]: ---
2006 Apr 20
5
How to find the last SQL statement executed in ActiveRecord
Is there a method for retrieving the last SQL statement executed by ActiveRecord? I realize I can open the log file, but I''m looking for a programmatic way. -- Posted via http://www.ruby-forum.com/.
2005 Aug 03
0
Apache::RailsDispatcher for mod_ruby
Hi, I wrote Apache::RailsDispatcher to run Rails applications on mod_ruby. http://blog.shugo.net/articles/2005/08/03/running-rails-on-mod_ruby Apache::RailsDispatcher can run multiple applications in the same process. It works like this: * require loads libraries into the top level, and they are shared with all applications. * require_dependency loads libraries into an anonymous