Displaying 20 results from an estimated 100000 matches similar to: "no route found to match "/" with {:method=>:get}"
2007 Mar 18
8
no route found to match "/cookbook/recipe/list" with {:method=>:get}
Hi,
I ve just spent about three hours trying to figure this out, so any
help would be appreciated.
I ve followed these steps:
1. Downloaded Instant Rails
2. Unzipped it
3. Ran "InstantRails.exe" to configure it. (path is c:\InstantRails)
4. Went to the "Manage Rails Applications" area and chose "cookbook"
app.
5. Clicked on "Start with Mongrel"
6. Mongrel
2007 Aug 09
4
no route found to match "/rails/info/properties" with {:method=>:get}
After a new install (Ruby, Rails en Gem) on a newly installed OS. I''m
getting a ''no route found to match'' error. I Googled a bit, and saw
that more people had this problem with older rails versions. I''m on
Ruby 1.8.6, Rails 1.2.3 and Gem is 0.9.4, on a Mac running OS 10.4.9.
Any suggestion is welcome.
Regards,
Robert.
2007 Mar 13
6
Question:"no route found to match"
in my routes.rb, I have such url
map.file '':user/:file
it works well with following url:
1. jay/web
2. jay/web2
but it encounters error with:
jay/web2.0
it displays : no route found to match "/post/web2.o" with
{:method=>:get}
I guess it is because the char ''.'' and rails can not translate it
exactly.
How can I fix it ?
thank you
zico
--
Posted via
2007 Jun 26
1
ActionController::RoutingError (no route found to match "/ja
Hi All,
I have an application running on mongrel. i am getting the access of
application .but it seems that its not picking up
stylesheets,javascript.
My production.log contains the error:
ActionController::RoutingError (no route found to match
"/javascripts/application.js" with {:method=>:get}):
i have all .ccs and .js file under public directory of application.
Thanks in Advance for
2008 Mar 01
2
No route matches with {:method=>:get} Error in AWDWR Book
Hi I''m working on the AWDWR book and I''m on the admin section of the
book. I have rails 2 installed on my machine and I have ran into an
error when I created my controller login but when I go to
http://localhost:3000/login/index I get this error:
No route matches "/login/index" with {:method=>:get}
I haven''t touched the routes.rb file and when I generated
2009 Jul 31
2
ActionController::RoutingError (No route matches "/say/hello" with {:method=>:get}):
Hello:
I have found a whole lot of posts on this, however, none of them offer
any sort of solution other than restarting the web server, which I
can''t imagine everyone out there developing on Rails is doing.
I am on page 40 of Agile Development with Rails 3rd edition and trying
to get the missing template error to show but until I restart webrick
I only get the following:
Processing
2008 Jun 22
3
Routing Error No route matches "/employee/list" with {:method=>:get}
hi,
I am very frustrated by this error when I just put together a very
simple project from one of the textbook on RoR:
Routing Error
No route matches "/employee/list" with {:method=>:get}
For your reference,
#The following is EmployeesController.rb
class EmployeesController < ApplicationController
scaffold :employee # create scaffold code for controller
#
2007 May 03
0
no route found to match "/application/signin"
I''m posting this because I ran into a problem and had difficulty
tracking down the answer. In fact, the answer was in another ruby-forum
post, but the Search feature didn''t locate it via the keywords I was
using. Hopefully my Subject line will help more people find this
solution.
PROBLEM:
I upgraded from Rails 1.1.6 to 1.2.3. When I did something that required
me to sign in, I
2008 Sep 23
1
Help with "No route matches "/MyTest/" with {:method=>:get}"
I just started working with Ruby. Anyways I can''t seem to figure out
how to have this message disappear. I was reading a tutorial and based
on it, when I type in http://localhost:3000/MyTest/ it should say
whatever I have written down on my my_test_controller.rb file.
I first ran: ruby script\generate controller MyTest
then I edited the my_test_controller.rb file
It currently says:
2006 Nov 08
0
routing error does not get caught by rescue_action_in_public
I have this in my application controller.
def rescue_action_in_public(exception)
logger.error("rescue_action_in_public executed")
case exception
when ActiveRecord::RecordNotFound,
::ActionController::UnknownAction,
::ActionController::RoutingError
logger.warn("rendering 404 page")
render(:file =>
2009 Jan 10
0
General Question about route generation Rails 2+
I have been searching for the definitive answers regarding routes and
new controllers, so far no clear statement: Rails 2+ route
generation, is it done only once at start up of mongrel? Is this only
a dependency on how mongrel does things - looking for updates of
config files on the fly or is it a Rails limitation?
You see I also have used servlets and JSP, it seems there you can add
new jars
2008 Jun 12
3
Upgrading to 2.1 breaks my named routes
I just upgraded to 2.1 and attempted to log in to my application and
when this line is reached in my login action:
redirect_to(index_url)
I get the error
"wrong number of arguments (0 for 1)" [stack trace below].
Here''s my route:
map.index ''index'', :controller => ''e_simply'', :action => ''index''
I found
2007 Feb 08
1
undefined method `find' for Status:Class
Hi,
I have attempted to install radiant on my server using mongrel. I have
it working fine using lighttpd on my development box, but as soon as i
attempt to run it using mongrel I get the following error:
NoMethodError (undefined method `find'' for Status:Class):
/app/models/page.rb:49:in `status''
/app/models/page.rb:57:in `published?''
2008 Sep 23
5
Problem getting Rails to emit the correct (proxy) domain in route urls
Behind the scenes my app runs like this:
http://myapp.mydomain.com/myapp and
and
https://myapp.mydomain.com/myapp
are Apache 2.2 virtual hosts proxy-balanced to a mongrel cluster
on the same machine.
But I need to make these available here:
https://www.mydomain.com/myapp
and
https://myapp.mydomain.com/myapp
are on a second server using ProxyPass and ProxyPassReverse to
2011 May 19
0
Unable to find the image path via file system using the paperclip plugin through the get method
Hello all,
with great difficulty , I guess I have finally been able to find the
appropriate git commit of paperclip which would suit my project''s config
which is Ruby 1.8.7 and rails 2.0.2.
I am trying to implement a POC before I integrate paperclip in my
project. The POC is basically implementing each post with an appropriate
image beside it. It seems to pretty much work, its just
2007 May 02
2
Routing to a static resource in Mongrel
All,
I would like to set up a route that causes a static "index.html" file
(in the "public" directory) to be served on a request to an empty URL
path (i.e. map.connect '''', ...).
Can I do that with Mongrel? Basically, I want the ability to do in
Mongrel what I will end up doing in Apache with a rewrite directive.
Thanks,
Wes
--
Posted via
2008 Jan 24
1
NoMethodError (undefined method `to_sym' for {"6"=>"1"}:Hash
I''ve got a search form that was working on rails 1.2.6, but since
upgrading to 2.0.2, I''m getting this error when I post my form. Here''s
the full error:
Processing SearchController#results (for 24.173.26.226 at 2008-01-24
14:51:23) [GET]
Session ID:
2008 Jun 10
7
ActionMailer undefined method `parameters' - Rails 2.1
Hello Rubyists,
I''m currently trying to get email hooked up via ActionMailer, and while
I''ve gotten it to work in the past on Rails 1.2.x, I''m seeing an error
that I''m unfamiliar with.
Right now, I''m just trying to send email from my dev box via the SMTP
server at work.
My development.rb file:
#...snip
config.action_mailer.delivery_method = :smtp
2006 Oct 18
1
observe_field, GET method and RESTful controllers
Hi all.
I am trying to work with restful rails and have come across a quandry
with observe_field.
I basically want the observe field to call a show action on a restful
controller. However I am unable to do so because I cannot get the damn
thing to use the get request properly. If I use the following:
<%= observe_field("project_selector", :update =>
2008 Feb 01
1
Rails routing and active scaffold fight to the death
Just kidding, it''s not as bad as it seems. Right now I don''t have
much in my route.rb, and I''m getting this in my console:
Processing ApplicationController#index (for 127.0.0.1 at 2008-02-01
14:54:00) [GET]
[2008-02-01 14:54:00] (552) INFO Session ID:
a8eeb58764d872bbd1fdb337636e68e7
[2008-02-01 14:54:00] (552) INFO Parameters: {}
[2008-02-01 14:54:00] (552)