similar to: Failed route on 0.10.1

Displaying 20 results from an estimated 10000 matches similar to: "Failed route on 0.10.1"

2005 Mar 19
2
routing problem 1.8.2/0.10.1/webrick?
I seem to have come to a strange problem getting started on rails. I had everything working in a virtual machine and then set up a seperate machine just for rails developement. It now seems something is broken a little. ruby 1.8.2, rails 0.10.1, postgres, using webrick: i created a table "users", then "generate scaffold User" view localhost/users works fine, shows the
2005 Mar 07
0
Routing error follow-up
So, maybe I''m asking a stupid question, but if someone could point me in the right direction, I''d be eternally grateful. First, here''s what I have installed: $ ruby -v ruby 1.8.2 (2004-08-24) [i386-linux] $ gem list *** LOCAL GEMS *** actionmailer (0.7.1) Service layer for easy email delivery and testing. actionpack (1.5.1) Web-flow and rendering framework
2006 Jan 31
2
Creating a web service with AWS
So I''ve read the Action Web Service bit of the documentation for a while, searched around and asked on the IRQ channel and I just can''t seem to get a simple Hello World type web service up and running with AWS on Rails. I have a file called hello_person_api.rb which looks like this: class HelloPersonAPI < ActionWebService::API::Base api_method :HelloName, :expects
2005 Dec 08
1
SwitchTower, Apache, and Routing Errors
Hello, I deployed a Rails App using Switchtower and now I''m getting a Routing Error to my Javascript and Stylesheet files. Has anybody else had this issue? Here is the log file. > ActionController::RoutingError (Recognition failed for > "/javascripts/prototype.js"): > /vendor/rails/actionpack/lib/action_controller/routing.rb:470:in >
2006 Apr 16
0
scaffolding issue - new action defaults to list action
I''m creating a photo blog with ror. The front end has gone great, so now I''m working on the back end, and was playing with scaffolding. I generated these scaffolds: ruby script/generate scaffold Photo admin/photo ruby script/generate scaffold Camera admin/camera Then, in my routes, I added this line: map.connect ''/admin'',
2005 Mar 07
1
0.10.1 problems
I just upgraded (gem update) to 0.10.1, and now my projects I created just a few days ago under 0.10.0 don''t work anymore. I get the following message (for the database table "projects): $ script/generate scaffold Project script/generate:27: undefined method `instance'' for Rails::Generator:Module (NoMethodError) If I create a new rails project and run the same command,
2006 Apr 03
3
[newbi] Problem Routes
Hello, i try to follow this video http://www.illanti.com/files/locomotive101.mov After change my routes routes.db ActionController::Routing::Routes.draw do |map| # Add your own custom routes here. # The priority is based upon order of creation: first created -> highest priority. # Here''s a sample route: # map.connect ''products/:id'', :controller =>
2006 Jul 23
4
ActionWebServices
Is there a problem with Direct Web Services on Windoze? A routing error occurs with simple controller/api configs as described in the AWDwR text. route.rb has a wsdl route, but I would like to scaffold it to render either wsdl or ws functions from localhost:3000/ctrlr/invoke or localhost:3000/ctrlr/wsdl. -- Posted via http://www.ruby-forum.com/.
2005 Mar 08
15
Rails 0.10.1and WEBrick
Doesn''t appear to work with WEBrick. Works find with Apache/FastCGI. Something wrong in the way Rails is trying to process paths from the WEBrick server. If I try to send in http://localhost:3000/recipes/new, WEBrick is interpreting /new as my controller, instead of my action.
2008 May 29
2
Resource routing error with the route equipment/new
I''m having an issue with resource routing after running a "ruby script/generate scaffold equipment" command. I did not make any changes to the equipment model/controller/views after running this. The full command I ran (all one line) ... ruby script/generate scaffold equipment name:string description:text contact:text keywords:string created_at:datetime created_by:integer
2008 Feb 20
1
link_to weirdness, related to namespace?
Hi, In my app/views/admin/clieint/_searchresults.rhtml partial, I have ... <% for user in @users %> <tr> <td><%=h user.ship_to_first_name %></td> <td><%=h user.ship_to_last_name %></td> <td><%=h user.email %></td> <td align="center"><%= link_to ''Show'', {:action =>
2007 Aug 27
1
Error 500 when displaying after creating a controller
Hello, I''m currently learning RoR but I''m facing yp to a displaying issue. I created a RoR project via the command rails project in the OS Linux Ubuntu Then, I also created a controller: sudo script/generate controller about exists app/controllers/ exists app/helpers/ create app/views/about exists test/functional/ create app/controllers/about_controller.rb create
2006 May 23
0
where to initialize a variable in an AJAX based application
Hello All, I am getting confused with best practices. I posted a topic earlier but realized how confusing it was. Thus I will do my best to be as clear as possible. I am a bit confused on best practice for instanciate a variable that will be used accross several methods within the same controller. I need this because of AJAX, here is a description of what I intend to do: (all this in done
2006 Sep 30
1
possible bug: edge rails, nested resources and images
Im trying to show images in my restful application and have finally found what appears to be the source of the problem. When i have the products resource nested in categories as showen below in the first routes file i can see the categories index (/categories). When i add the images to the products resource map as shown in routes 2 i get the error: image_url failed to generate from
2008 Jul 23
0
undefined method `first' for :users:Symbol
Hello, I am trying to move an existing fully functional Rails application from my laptop (Running Leopard) to my Desktop (Running Debian). I created a new Rails application on the Debian desktop and installed the restful_authentication plugin. I also changed the routes.db file to include maps for users and sessions. Now, when I try to start the WeBrick server, I get the following error: =>
2006 Aug 16
2
About scaffold mean
Hello All! I''m novice at ROR. Would you like to explain what mean such constuction in Ruby. 1: class DemoController < ActionController::Base 2: scaffold :item 3: end Is 2th line calling of method ''scaffold''? If it is so, when it called? For all instances of class, or only for class? I watch sources of ActionController, but don''t understand completely.
2006 Jun 08
8
Routing help.... it is so difficult!
hi guys, sorry to trouble you all but i really dont understand how this routing thing work... it seems easy but it just dont work for me! here''s the situation : my url b4 : http://127.0.0.1:3001/admin/login my url after: http://127.0.0.1:3001/burninglegion/admin/login i wanna do something like this so i went to the routes.rb and type this: ActionController::Routing::Routes.draw do
2006 Jan 06
5
Routing problems - Apache proxy vs. Webrick direct
I dropped the use of fastcgi because I could not get popen working (see ''[Rails] Apache2 and popen''). It works under WebBrick. Since CGI is too slow, I thought I''d proxy to WebBrick via Apache. I am having routing problems now with escaped slashes in the URL. Here''s my routes.rb: map.connect '''', :controller => "wiki"
2007 Jun 27
1
Active Scaffold controllers created dynamically at runtime?
Does anyone know how to link Rails'' routes into anonymous controller classes created at runtime (defined with their superclass as ActionController::Base)? I''m trying to create a plugin for all of my projects that dynamically creates an active_scaffold controller for each model. It would essentially be like a scaffold_all_models for active_scaffold. I believe the original
2007 Jan 05
0
web service scaffolding: array and 2d array params
Hello, Currently when you build a web service with ActionWebService, you can generate a scaffold (using a command like "web_service_scaffold :invoke") that will allow you to call your web-enabled methods from the browser. Currently, if any of those parameters are arrays, you get the message "Typed array input fields not supported yet", and you can''t enter the