Displaying 20 results from an estimated 107 matches for "call_filters".
2007 May 30
2
ActionView::TemplateError
Hi,
I have a strange problem that only occurs on the production server.
I''ve been banging my head for hours trying to figure it out with no
success. Below is a copy of the error from the production log.
ActionView::TemplateError (Expected /www/rails_apps/scanlan/current/
public/../config/../app/models/image.rb to define Image) on line #6 of
app/views/admin/design/_record.rhtml:
3:
2007 Mar 24
0
overloading to_json with JSON gem installed causing error
I installed the JSON gem because I wanted the JSON parser.
Before installing the JSON gem, overloading worked fine. Before I
remove it, I''d like to see if anyone has an idea of what is going on.
It''s the only JSON parser I''m aware of, so it would be a bummer if it
didn''t work.
After installing, if I overload the to_json method in the class, it
gives me the
2006 Nov 20
5
RMagick load problems?
I have a page (model: daily_progress_chart) that uses RMagick and
ImageMagick to create a chart using RVG. A few days ago (after some
updates to Rails), this chart stopped working on both my development
machine (MacBook Pro) and the production server (Gentoo Linux). I get
the following error messages. I am totally lost, but I assume that there
is a problem with RMagick. Any ideas anyone?
On
2007 Jun 11
3
ActiveRecord::StatementInvalid error
Hi,
I have an application that is running fine on two different machines,
but when I ported the code to a third machine, it doesn''t seem to
work. More specifically, for users with a significant amount of info,
it seems to stop working. All the functionality seems to be working
properly on a small test set, but with a larger set I get the
following error:
AssociatedAp Load (0.000000)
2007 Jun 08
0
SimplaTable with error: singleton can't be dumped
Hello,
My first PDF report from rails.
When i try to render "tab.render_on(pdf)", I get that error message.
Thanks any help,
Helder
=================================================================
TypeError in ContasController#plano
singleton can''t be dumped
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
2007 Oct 29
2
error message after upgrading to Gusty Gibbon Ubuntu
I have started to get the error message "wrong number of arguments (1
for 0)" since I upgraded to Gusty Gibbon.
I am new to ROR so I have no clue.
This is the code that was running
def create
@user = User.new(params[:user])
if @user.save
flash[:notice] = ''User was successfully created.''
redirect_to :action => ''list''
else
2006 Aug 03
1
strange before_filter error. is this a bug i have found?
...or false:FalseClass
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1567:in
`==''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:411:in
`call_filters''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:394:in
`call_filters''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:383:in
`before_action''
......
Thanks
Chris
--
Posted via http://www.ruby-...
2007 Aug 19
3
fastcgi issue on production
I just deployed my rails app to my production server. It''s all working
locally, but when I switched it over to the production server (at
dreamhost) I get this error:
# Logfile created on Sun Aug 19 15:22:48 -0700 2007 by logger.rb/
1.5.2.9
[19/Aug/2007:15:22:48 :: 1841] starting
[19/Aug/2007:15:22:48 :: 1841] Dispatcher failed to catch: You have a
nil object when you didn''t
2007 Jun 22
2
problem with AR and 'virtual' multiparameter attributes.
Hello,
I have a model which I would like to have a ''virtual'' date column.
This column wouldn''t exist in the database, but would exist for
validation, etc. The data would be provided in the form of a
date_select in the view. This produces a multiparameter attribute. My
problem is that the ''execute_callstack_for_multiparameter_attributes''
method in
2007 Nov 15
6
Link_to popup divorced from controller?
Here''s my case:
Using a link_to popup window to show a related help file of an element
on a page.
The problem:
Window pops up perfectly, but refuses to carryover @instance variables
in the controller that I referenced in the link_to command.
The tests:
- I have the right controller/class, because it renders a specific
template, which is what it does.
- I have the right template/view,
2008 Aug 21
4
forgery Protection
...troller/filters.rb:430:in
`call''
/home/dara/apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:592:in
`run_before_filters''
/home/dara/apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:578:in
`call_filters''
/home/dara/apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:573:in
`perform_action_without_benchmark''
/home/dara/apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/benchmarking.rb:68:in
`perform_action...
2008 Dec 20
3
IMAP_Authenticatable Problem
Good morning all,
I''ve been using the imap_authenticatable plugin for about a year now without
incident. All of a sudden, I tried logging in this morning and this error is
showing up in the logs. Does anyone have any idea what could be causing this
or how to fix it?
Thanks,
Pete
NoMethodError (undefined method `disconnect'' for nil:NilClass):
2007 Oct 08
1
Rails reverses apostrophes
Hi,
I am quite new to Ruby on Rails so this might have a very simple
answer... My problem gives the following error message when I try to
call the count function for an item.
Mysql::Error: Unknown column ''TournamentTemplate'' in ''where clause'':
SELECT count(*) AS count_all FROM action_logs WHERE
(action_logs.loggable_id = 1 AND action_logs.loggable_type =
2005 Dec 01
0
symlink and 0.14.3
...by/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:980:in `method_missing''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:354:in `send''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:354:in `call_filters''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:350:in `each''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:350:in `call_filters''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_contr...
2008 Jun 04
2
gem_original_require
Hi all,
my computer decide to take a dirt nap today so I am trying to relaod
rails on another machine and I am getting this error message which I
can''t make heads or tails about:
no such file to load -- postgres
RAILS_ROOT: ./script/../config/..
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
2007 Apr 09
2
Errno::EACCES in Controller / Permission denied
...ms/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
`const_missing''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:399:in
`send''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:399:in
`call_filters''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:394:in
`each''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:394:in
`call_filters''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_co...
2007 Jan 22
0
rail 1.2.1: Fireruby exception with firebird
Rubyonrails application which was working fine with rails 1.1.6,
fireruby and firebird 1.5.3 does not work with rails 1.2.1. The error
is reproduced below. Could not get over this problem. Any help coming
through? Thanks in advance.
ActiveRecord::StatementInvalid in
TimekeeperadminController#authenticate
FireRuby::FireRubyException: Error preparing a SQL statement.
Dynamic SQL Error
SQL error
2007 Jan 05
8
Rails 1.2: Release Candidate 2
This is it. We''re a mere two shakes of a lamb''s tail from releasing
the final version of Rails 1.2. But before we light the fireworks and
pop the champaign, we''ll just do one itsy, bitsy, tiny test run. Like
wearing protection glasses in downtown Copenhagen on New Year''s. You
know, just for precautions.
So please do give it a good run. We''re looking
2006 Apr 08
2
respond_to causes DoubleRenderError?
I have a custom authentication plugin that redirects users to a login
site if they aren''t already authenticated and their session hasn''t
timed out. I had things working fine with straight http requests, but
wanted to add support for ajax requests. I thought this would be a
simple matter of replacing all of my "redirect_to <blah> and return
false" calls with
2007 Oct 24
7
NameError in CustomersController#index
I''m new to Rails. I finished the Cookbook tut. no problem. I''m
trying to start a project of my own, follow the same instructions but
the difference is I created the database myself.
After I create the scaffolds and try them out I get this error
NameError in CustomersController#index
uninitialized constant Customer
RAILS_ROOT: ./script/../config/..
Application Trace |