Displaying 20 results from an estimated 5000 matches similar to: "undefined method `find' for Status:Class"
2007 Mar 01
0
FastCGI and Apache. Anybody know what can cause this error?
Does anybody know what could possibly be causing my error?
Somehow action_controller got into a state where it was retuning not
found for about 4 out of every 5 requests, seemingly arbitrarily.
Has anybody else ever experienced this? I''ve heard that apache and
fastcgi is not the best solution, do you think this is fcgi''s fault?
Could it be a bug in my ruby code? Could it be a
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 Mar 23
0
Error - Conflicting types for parameter containers
Hi,
I am trying to implement password-reset functionality.
I have an email sent out to a user when they request a password. The
URL in the email contains a cgi param, of which is a SHA 256 hex
digest. The user clicks on that link and the page is opened in a
separate window, when the user enters in their password. When I hit
submit, I get the following error, anyone run into this error before?
2006 Dec 28
1
ActionMailer/SMTP: Net::SMTPSyntaxError when message body contains only a 'dot'
FYI:
I don''t think this is a very well know. It seems that, on some
operating systems, ActionMailer/SMTP crashes when it sends an email
with only a ''.'' (aka a ''dot'' or a ''period''). Specifically, you get
Net::SMTPSyntaxError (502 Error: command not implemented):
Environment Details:
$ uname -a
Linux private1 2.6.15-26-server #1 SMP
2006 Dec 20
4
undefined method `fullname' for #<User:0x357e380>, BUT works on first view?
Hi all,
Please excuse the long post, but I wanted to make sure you have all the
information....
I have a NewsModel that looks like this:
class News < ActiveRecord::Base
belongs_to :user
validates_associated :user
validates_length_of :title, :description, :minimum => 5, :allow_nil
=> false
acts_as_commentable
acts_as_taggable
def self.find_recent
News.find(:all,
2006 Mar 28
0
MySQL problems and undefined class User
Hello
I''m having some issues with MySQL losing it''s connection, or undefined
class User on Windows XP. I use Login and UserEngine. Rails 1.0/1.1,
MySQL 4.
MySQL problem (one of them):
Mysql::Error: Lost connection to MySQL server during query: UPDATE
sessions SET `data` =
2006 Feb 14
1
ArgumentError in <controller not set>#<action not set> ??
Has anyone ever seen this before? It doesn''t happen n a predictable
manner, and can occur via different controllers. Someone else posted
about this back in December but no one replied. I''m completely stumped!
Here is the text, thanks.
ArgumentError in <controller not set>#<action not set>
undefined class/module CustomerDomain
RAILS_ROOT: script/../config/..
2008 Jun 30
1
Help with form_for
Hello, I had an app running on RoR 1.1, now I''m migrating it to 2.1.
In a view I have:
<div id="user_management">
<fieldset>
<legend>Please log in</legend>
<% form_for(:user, :url => sessions_path) do |f| %>
<p>Username: <span class="notice"><%= flash[:notice]%></
span></p>
2008 May 13
0
Problem geting web interface to work
Hi,
i have installed CruiseControlRB 1.3.0. With no project added the web interface at localhost:3333 looks find.
I have successfully added one of my projects (batch file which builds some c++ code) which is also building fine.
But the web interface is no more working - i get the following message "Errno::EINVAL in Projects#index".
I have attached a log (run with --trace) which
2004 Nov 20
0
Stack level too deep on Cygwin and on Debian / Colinux with 0.5.0 - 0.8.5 Beta gems
Hi,
as it is not possible for me to use a sensible development environment
to start with I have to use emulations. I use Cygwin on windows and also
Colinux. (Colinux is really amazing cause it lets you run actual linux
binaries und Windows.) So here is my problem, which by the way exists
since Rails 0.5.0 I think. It was the reason I tried Colinux in the
first place, cause the error first
2006 Jun 23
0
Date class giving errors
Any time I try to use any methods of the Date class, I get errors of
''invalid date''. For example, I have this happening:
With the code Date.today, I get this error from Rails:
- - - - - - - - - -
ArgumentError in Student#show
Showing app/views/student/show.rhtml where line #10 raised:
invalid date
Extracted source (around line #10):
7: <p> <%=
2008 May 08
5
Simple Generated Component Suddenly Gives Errors
What am I doing wrong here when I wrote a very simple component so :
C:\ruby\letter4sure>ruby script\generate scaffold pso_printers
printing_setting_id:integer pso_id:integer
exists app/models/
exists app/controllers/
exists app/helpers/
create app/views/pso_printers
...
Then I did a rake db:migrate
And then I simply went to take a look at the url for the above :
2005 Jul 29
3
More issues with Rails Book Cart tutorial.
I am presently trying to get the cart section (chapter 8.) working
and after following the instructions as carefully as I can determine
I am nonetheless getting the following errors:
URL=http://localhost:3000/store/add_to_cart/10
NameError in Store#add_to_cart
undefined local variable or method `parms'' for
#<StoreController:0x376ee60>
2009 Apr 17
0
A frustrating and strange error when config.action_controller.perform_caching = true
Hello all.
I am having a hell of a problem and it''s driving me nuts. I get the
following error (undefined method `controller_name'' for nil:NilClass): but
only when config.action_controller.perform_caching = true
I googled around some and found this thread
http://groups.google.com/group/communityengine/browse_thread/thread/b84154e5228bf9f3which
suggests it may be a conflict with
2006 Sep 12
1
Ferret on Windows?
I am trying to use SVN HEAD of Acts_as_ferret, and I have ferret
0.10.4installed from the windows Gem.
Unfortuanantly, whenever I i let act_as_ferrets init.rb file require ferret,
my app blows up, with weird "Invalid char" errors. I have pasted the page
below. If I comment out the require ferret, the page loads. Of course,
act_as_ferret does blow up.
My unit tests do work fine
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
2009 Jul 29
0
Problem uploading file to database mysql blob field
Hi All,
Please help me ,I need to look into this issue asap, I need to change
the redmine functionality of uploading files to disk to upload them to
database. I tried suggestion on
http://dizzy.co.uk/ruby_on_rails/contents/store-file-uploads-in-database
but no luck , My form is multipart but still getting the error.
Please bare with me I am new to ruby and rails.
Here is the like for my
2009 Jun 13
5
undefined method `valid_password?'
I''m trying to set up the authlogic gem for rails, just after logging my
user I get this weird error:
NoMethodError in Usuari sessionsController#create
undefined method `valid_password?'' for #<Usuari:0xb69b9a54>
RAILS_ROOT: /home/cocozz/dev/enruscats
Application Trace | Framework Trace | Full Trace
2010 Jan 26
2
accepts_nested_attributes_for :has_many :through => 'bug?'
Hey guys & ladies!
I''ve got the following relationship which i''m trying to get
accepts_nested_attributes to work with. But when i submit my form, it
looks as if its expecting a Company object, rather than an array of
companies. which really doesn''t make sense considering its a
has_many :relationship.
So what i''m after, is a way to
2007 Aug 17
1
Scaffold (Agile Web Development With Rails)
What am I doing wrong here?
[app/controllers/admin_controller.rb]
class AdminController < ApplicationController
before_filter :authorize
def index
list
render :action => ''list''
end
# GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
verify :method => :post, :only => [ :destroy, :create, :update ],