similar to: Can't reach a controller :(

Displaying 20 results from an estimated 10000 matches similar to: "Can't reach a controller :("

2005 Dec 22
11
first day using rails
Hi - this is my first day with Ruby on Rails. I''m starting out by working through the Helloworld (Hello Ruby) example program printed up in "Agile Web Development with Rails." My steps are as in the text: 1. ruby script/generate controller Say 2. edit the proper file and add the hello method 3. fire up the browser using address http://localhost:3000 4. fire up the
2007 Mar 17
0
webrick failing with "NameError: cannot remove Object::UnknownPropertyMethod"
Hi, I just downloaded the latest rails, and tried to run webrick. I get this strange set of error messages. It looks like the real error is NameError: cannot remove Object::UnknownPropertyMethod I never had this problem with older versions, and the ''fastcgi'' variant, running under lighttpd runs fine. Any ideas why webrick appears to be broken? Thanks, David
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 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`) )
2007 Aug 06
4
problem with rails_root
Hi everybody, I used a openseradmin who is based on rubygem (i suppose ), so when i start my server of this openseradmin in the http://localhost:3000, i reciceved some messages like this: SocketError in LoginController#login getaddrinfo: Name or service not known RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace
2007 Sep 04
4
Errors in executing first RoR app - reg.
Hi Friends, I am brand new to RoR.Kindly help me with the following problem. Following are the steps i have done. 1) C:/> rails appone 2) C:/> cd appone 3) C:/appone> cd script 4) C:/appone/script> ruby generate controller appone index 5) Edited C:/appone/app/controllers/appone_controller.rb class ApponeController < ApplicationController def index time = Time.now
2007 Oct 07
10
Rails to English
I am currently using the book "Agile Web Development With Rails" (2005). I am working on a fully function web application that has a shopping cart. The web page displays this, ActiveRecord::StatementInvalid in AdminController#create Mysql::Error: #23000Column ''date_available'' cannot be null: INSERT INTO products (`image_url`, `date_available`, `price`, `title`,
2005 Nov 22
2
Error messages: relative paths seem weakly handled?
I create my rails app, with modifications to the default from a script. Having had to upgrade rails once, and knowing that this is likely to happen again because of the rapid updating of rails, it seems the most sensible way to do it. As a result, I often do /bin/rm -rf csestore and then run my script from another window to repopulate it. So naturally, to save having to cd into csestore, and
2007 Oct 24
8
validates_confirmation_of not working
Hello to everyone, Well, very frustrated with this one because I am following the example straight from the documentation and it is not working. First when I try: validates_confirmation_of :password, :on => :password_update (password_update is a def in my User model which works fine without this validation in please) I get the following error: TypeError in UsersController#update_password
2007 Jul 04
5
stack level too deep
Hi, I have a SystemStackError. Here is the stack (sorry if it''s a little long) : app/models/line_item.rb:14:in `product'' app/models/line_item.rb:14:in `product'' app/controllers/store_controller.rb:188:in `redirect_to_paypal'' /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/ active_record/associations/association_proxy .rb:123:in `each''
2005 Nov 18
2
Migrate Ubuntu Rails App to Fedora?
I developed a small RoR app on my Ubuntu laptop and I just tried to migrate it to my "production" box which is Fedora FC3. I moved the entire rails app. I received this error when I tried to get the first page: [2005-11-17 15:36:00] INFO WEBrick::HTTPServer#start: pid=32546 port=3000 192.168.0.61 - - [17/Nov/2005:15:40:01 EST] "GET /freesql HTTP/1.1" 200 0 - ->
2006 Feb 20
3
Caching of classes non working or Howto?
Hello! I m new to rails. I m playing around with it on a SuSE 10.0 box with ruby 1.8.2 and gems and rails and postgres. rails xyz creates a nice rails application, with its directory and ruby script/server runs webrick nicely and lets me see the page on localhost:3000. I went with some tutorial to create a Hello page showing the time and a Bye-Link to link to an Bye page. cat
2006 Aug 09
6
Stack level too deep with actionmailer
HI, Anytime I try to send emails with actionmailer I get a stack level too deep SystemStackError. There were several other posts related to stack overflows, but none of them invovled actionmailer. I''m using some plugins acts_as_taggable, acts_as_ferret, rails 1.1.4, actionmailer 1.2.3. Here is my full stack trace. Any ideas?
2007 Dec 21
7
missing sourcefile (no such file to load)-- squlite3 error
hi all, i got a problem of no such file to load -- sqlite3, after installing new rails version yesterday... the uninstallation gone through this way... $ gem uninstall rails successfully uninstalled rails-1.2.3 Remove executables and scrips for ''rails'' in addition to the gem ? [Y/n] - then i gave it ''Y'' *** as like it gone
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 ],
2006 May 18
5
Uninitialized Constant in scaffold list page
I''m new to Ruby on Rails and just trying to get it up and running. I''m using RadRails, but I don''t think that matters for this problem. I''ve got a very basic app with one table and I used the scaffold generator for a table called datedgoals. The new page works fine, but then when it switches over to the list page, I get the errors below. Any idea how to fix
2006 Apr 30
1
no such file to load -- net/https
Hi, Came across the substruct project and decided to download and play with it. Am running rails 1.1.2 with ruby 1.8.4 on Ubuntu. I start webrick .. went to the admin section of the store. Create a product. Went to the store section and put this product in my cart and then clicked on checkout. I fill the form and submit it . I click on the "Finish Order" button and get the following
2006 Jul 01
0
Paypal IPN Gem
Having some problems. Using instant rails 1.3 updated with to rails 1.1.4. Gem Paypal and Money gems are installed. Also installed the plugin paypal, I see it in /vendor/plugins/paypal and restarted the server. I posted my error at the bottom. Any Ideas? Thanks Kindly -Ryan # I have a controller called byc, in it I have this action. def create @registrant =
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 24
1
Newbie: Cookbook Application problem with MYSQL
Hi everybody, I''ve been reading lot of material about Ruby on Rails, and it looks like really rocks. I''ve downloaded the one-click version for Windows and started to build the example cookbook app, found in: http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1 Everything looks good, but when I''m trying to create a new Recipe