Displaying 20 results from an estimated 4000 matches similar to: "uprgrade to 0.10: uninitialized constant Class::Object"
2005 Apr 06
3
NameError in <controller not set>#<action not set>
I can''t figure out why I''m getting the following error. There''s
nothing wrong in my communities_controller file. And the helper for
communties exists.
Any ideas?
Thanks,
Joe
NameError in <controller not set>#<action not set>
uninitialized constant CommunitiesHelper
app/controllers/communities_controller.rb:1
script/server:48
Show framework trace
2005 Jan 29
6
Newbie: Unable to run new controller.
I''m only just learning to use Rails, but this seems like something very
out of my control.
I used GEM to download and install Rails, then created a new application
and a controller and started the WEBrick server. When I try to access
the new controller "Test" using http://localhost:3000/test/ I get a "Not
Found" error and a great deal of output from the server
2005 Feb 24
9
[0.10.0] Update problem
Upgrading to rails 0.10.0 leads to the following:
-----
=> Rails application started on http://0.0.0.0:3002
[2005-02-24 16:45:35] INFO WEBrick 1.3.1
[2005-02-24 16:45:35] INFO ruby 1.8.2 (2004-12-25) [powerpc-darwin7.7.0]
[2005-02-24 16:45:35] WARN TCPServer Error: Address already in use -
bind(2)
[2005-02-24 16:45:35] INFO WEBrick::HTTPServer#start: pid=936 port=3002
#<NameError:
2007 Oct 10
9
Rspec Textmate bundle errors
Hello all,
Having a problem with the Rspec textmate bundle and having quizzed
the guys in #textmate to no success about the errors, I''ve been
suggested to try you guys!
When I run the "Run Behaviour Description" command, I get the
following errors:
/Users/alastair/Library/Application Support/TextMate/Bundles/
RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in
2006 Aug 10
28
On the total nondisclosure of the 8/9/06 security vulnerability
Dear Rails team,
The handling of the recent vulnerability in Rails has proven somewhat
problematic for us. We have recently adopted Rails as our web platform
of choice; previously, we used J2EE. We love Rails. We hate J2EE. We
don''t want to go back. It took a lot of effort and convincing to get the
management teams of our various projects to sign off on the use of
Rails. The
2005 Jan 11
7
default error page
Help, please.
I need redirection to a custom error page, instead of
the default Rails messages (e.g. Unknown action).
I use WebRick, no Apache, and i think i can''t use
public/.htaccess (# General Apache options).
Thanks.
___________________________________
Nuovo Yahoo! Messenger: E'' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica
Scaricalo ora!
2006 Aug 25
6
End-of-File Error occured at <except.c>:103 in xpop_context
Hi, I get this when searching or adding a new record. I am using today''s
version of trunk and gem ferret 0.10.0
any ideas? thanks!
EOFError in DvbesController#new
End-of-File Error occured at <except.c>:103 in xpop_context
Error occured in store.c:197 - is_refill
current pos = 0, file length = 182
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full
2006 Apr 21
10
Paypal payments and IPN
I have followed the instructions over at
http://dist.leetsoft.com/api/paypal/
In order I:
1. installed the money library with gem install --source
http://dist.leetsoft.com/api/paypal/ money
2. installed the paypal library with gem install --source
http://dist.leetsoft.com/api/paypal/ paypal
3. created a new app with rails NewApp
4. added the PaymentHelper module to the
2006 Sep 18
2
Datebocks and EdgeRails
Hello,
I am having trouble trying to use the Datebooks Engine with Edge Rails.
Has anybody try with it?
It seems that the problem has something with loading the layout, and
complaints about the number of arguments.
I will thank any help or guide.
Thank you very much.
=========================
I have copied the error I get
ArgumentError
wrong number of arguments (2 for 1)
RAILS_ROOT:
2005 Mar 03
7
Another question about the tutorial
Hello
After upgrading to ruby 1.8.2, finally got rails to install properly.
Now, following the tutorial, I found a couple of things:
First, apparently rails tries to establish local mysql connections using
"/tmp/mysql.sock"
which mandrake does not use. In mandrake 10.1, this file is located at
"/var/lib/mysql/mysql.sock".
The solution is to create a simlink
2008 Jan 18
15
scaffold :product missing in Rails 2.0.2 version of depot tutorial?
I am getting an error when I try to run the code for the depot
application (page 67 in the Agile Web Development on Rails book, 2nd
edition). I built the complete depot app with Rails 1.2.6, and all
worked well. I then updated to Gem 1.0.1 and RoR 2.0.2, and attempted
to repeat the tutorial, and got this strange behavior.
I used "rails depot --database=mysql" because I have not
2006 Mar 31
2
Model inheritance is borken in Rails1.1
following is model code in file order_payment.rb
class OrderPayment < ActiveRecord::Base
belongs_to :order
validates_presence_of :amount, :no
end
class LC < OrderPayment
end
class LC30 < LC
end
class LC60 < LC
end
class LC90 < LC
end
class LC120 < LC
end
class TT < OrderPayment
end
class CAD < OrderPayment
end
and following is error i''m getting with
2006 Mar 07
4
Edge Rails - same code, different issues on mac and windows
Trying to get an app up and running with Edge Rails, and I''ve run into
different issues on Mac and Windows with the exact same code. It''s similar
to the issue posted in the previous RJS/Edge Rails thread, but I didn''t see
any answers in there (maybe I missed the real answer?) Both console/error
outputs listed below:
I can''t even get WEBrick to start on
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''
2006 Jan 18
1
Another uninitialized constant question
Guys,
I''m trying to generate a scaffold to admin a table called hangars. I''d
like the controller to fall with an "admin" sub-module.
I used the command:
script/generate scaffold Hangar Admin::Hangar
This seemed to work, and placed the controller in
controllers/admin/hangar_controller.rb, where I expected to find it. It
also created the hangar.rb model in
2006 Jan 11
6
Help -- NoMethodError in
Hi,
I am just learing Rails and I am going through the Agile Web Development
with Rails book. I am receiving:
NoMethodError in Store#add_to_cart
undefined method `add_product'' for #<StoreController:0x3764d80>
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/app/controllers/store_controller.rb:12:in `add_to_cart''
2006 Apr 04
2
HABTM
Hi.
Im new to Ruby and new to Ruby on Rails and have problems realizing a =20=
simple many_to_many relationship:
My tables:
items <-> items_users <-> users
------------------------------------------------------------------------=20=
--------------------------------------
id user_id =
id
name item_id name
... =
password
=
......
My Code:
class
2006 Jun 13
6
tax a reserved word?
Is tax a reserved word or am I sleep deprived??
I''m working on a shopping cart and have a table called sales_taxes (at
first i named it taxes).
I get the following error when i load the controller:
uninitialized constant SalesTaxis
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
2010 Mar 18
13
ERROR NoMethodError: private method `gsub!' called
I have just upgraded to Ruby 1.8.7 and Rails 2.2.2. My previous project
was at Ruby 1.8.6 and Rails 2.0.2. My platform is Windows and Webrick
for development.
When I run Webrick, the server starts without error, the application
runs, database connections work and I can click through the pages and
display data. But it does not serve any stylesheets or javascript
files. What''s
2007 Jun 25
2
undefined method `each' for ***:Class PROBLEM
Hi,
i am very new to ROR, this is my 2nd day since i solve the problem of
database connection. when i started to write some codes, i got stuck.
here is the situation and please give me some help.
i have a "posts" table in my database
CREATE TABLE `mapapp`.`posts` (
`id` int(11) NOT NULL auto_increment,
`title` varchar(255) default NULL,
`body` text,
PRIMARY KEY (`id`)
)