Displaying 20 results from an estimated 7000 matches similar to: "ActionController::RoutingError"
2010 Jun 15
3
RoutingError
hi, can anyone help me. i want to create an url to invoke create action
of a controller. routes.rb has the routes. But i am getting error at
line 23. i have @user variable.
user_contact_path(@user.id)
I want generate url as : users/3/contacts to invoke contacts
controller''s create action
---------------------------------------------------------------------------------
2008 Aug 25
0
ActionController::MethodNotAllowed
Hello All,
I m trying to use a form on my website to send an email. So my form
goes like this :
<% form_tag("/emailfeeder/create", :method => :post) do %>
<tr>
<td class="col1">To: </td>
<td class="col2"><%= text_field_tag "recepient",
@recepient.to_s, :disabled => true %></td>
2008 Feb 20
1
text_field_tag - different parameter name
Hi, I have one problem with validation
I am creating e-shop and I have products. This view look like this:
<% for product in @category.products %>
<div class="produktyBox">
<%= product.title %><br />
Price: <br />
<div style="color:red; font-size:large; font-weight:bold; margin-
bottom:5px"><%=
2010 Oct 11
0
Converting observe_field to UJS in Rails 3
I am trying to rewrite my website in Rails 3 and Ruby 1.9.2.
Can some one help me convert my observe_field which is working under
Rails 2.3.5 to Rails 3. I would like to avoid using JQuery as over the
last year everything I have tried in JQuery has failed, including this
one. Perhaps due to my lack of knowledge. I would not like to install
the legacy upgrade.
What I have in my website is several
2007 Aug 03
2
Does collection_select work in list.rhtml?
Hi,
I have 2 models:
Model 1: er, Columns: <er_id, er_name>
Model 2: er_process, Columns: <er_id, er_process_name>
er_id is a foreign key for Model 2.
When I am creating a new er_process or editing an existing one, I have
been successful to use collection_select to show the available er''s so
that the user can select a particular er by its name (to populate the
er_id
2011 Sep 09
9
Captcha conception
Hi guys, the next problem:
I create a controller, (/controllers/rmagick_controller.rb), which have
aim to test an captcha
Actions:
def download # creates an captcha image
def show # show the page where image took place
def check # must check right captcha or wrong
views/rmagick/show.html.erb:
> <div id="captcha">
> <p><%= image_tag download_rmagick_path
2006 Mar 06
2
form_tag error -- not found, 404 -- action DOES exist!
Hi -- I''ve got a very strange error.
I have an action called ''commit_input'' on a controller called
''SiteVisitController''. This definately exists, and is called from the
functional test for it, and passes fine.
My problem is with the form that is supposed to call this action.
The form tag is:
<%=
2011 Apr 12
0
Suppress ActionController::RoutingError in logs
My rails log get chock a block with things like
<<<<<<<<<<<<
ActionController::RoutingError (No route matches "/admin/Y-
ivrrecording.php" with {:method=>:get}):
...
ActionController::RoutingError (No route matches "/manager/html" with
{:method=>:get}):
..
ActionController::RoutingError (No route matches "/webdav/test" with
2008 May 28
3
Newbie: Searcing database via user form input?
Does anyone have a tutorial on adding new parameters to the paramaters
list and then creating find conditions around them?
I''m wondering how I can get my index page to list only the items where
some of the the databases fields match user form input. index.html.erb
would be calling itself with a new parameter :searchdata
So far the index.html.erb has...
<% form_tag({ :action =>
2008 Mar 16
1
form_for error
Hi all,
I have the following code in my application layout:
<div id="utility">
<% if logged_in? %>
<%= link_to "Sign Out", logout_path %>
<% else %>
<%= link_to_function "Sign in",
"$(''signin'').toggle();$(''signin_link'').toggle()",
:id => "signin_link" %>
2010 Oct 05
0
Ruby with apache ActionController::RoutingError (No route matches "/"):
Hi!
I an trying to setup ruby on rails with apache server on ubuntu server
10.04. I have followed toe guid on the ubuntu page.
My main app is located in:
/home/jonas/ruby/apps/rtest1/public
and I created a symlink to /var/www/app using the following command:
sudo ln -s /home/jonas/ruby/apps/rtest1/public /var/www/app
I have also reconfigured the owner of the /home/jonas/ruby/apps/rtest1/
2007 Feb 08
0
ActionController::RoutingError in actionpack-1.13.2
The specific error is:
ActionController::RoutingError (no route found to match "/application/setservice" with {:method=>:post})
With actionpack-1.12.5 the default route handled /application/setservice.
I have found a workaround by adding the route
map.connect ''application/setservice'', :controller=>''application'',
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
2011 Nov 26
1
ActionController::RoutingError (No route matches [GET] "/image.jpg"):
I am using rails 3.1.3.
Inside config/ application -> config.assets.enabled = true
Inside development.rb -> config.assets.compress = false
Inside production.rb -> config.serve_static_assets = false;
config.assets.compile = false
I have images placed in assets/images. If i do localhost:3000/assets/
image I get the image in the browser, but
unfortunately, on the browser i am
2006 Mar 28
2
Newbie question - ActionController::RoutingError
When i run my server and just chk in browser i get
---------------------------------------------------
ActionController::RoutingError (Recognition failed for
"/rails_info/properties"):
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/routing.rb:488:in
`recognition_failed''
2010 Nov 30
2
ActionController::RoutingError Assistance
Hello everyone,
I can''t seem to figure out what I''m doing wrong on this test. I''m trying
to delete one of my models, criterion. All code can be found here,
please let me know if you need anything else! The rspec message is also
in there.
http://pastie.org/private/uaoexi6tmmsplsr3oj1a8w
Thank you!
Andrew Davis
--
Posted via http://www.ruby-forum.com/.
2007 Mar 02
5
ActionController::RoutingError
plz give me the solution to solve the below error
ActionController::RoutingError
ActionController::RoutingError in Issues#new
Showing app/views/issues/_issue.rhtml where line #1 raised:
issue_url failed to generate from {:controller=>"issues",
:action=>"show", :id=>nil}, expected: {:controller=>"issues",
:action=>"show"}, diff:
2006 Feb 27
2
Multiple forms on a page
Hello all.
I have the following Code in a view:
<% @dishes.each do |dish| -%>
<tr>
<td><%= link_to dish.name, :controller => "restaurant", :action =>
"show_dish", :id =>"#{dish.id}" -%>
<% if dish.vegetarian? -%>
<%= image_tag("/images/vegetarian.gif", :class => "bevel", :size =>
"8x8")
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
2009 Apr 12
3
Multi-button form
It cannot be this difficult, especially in rails. Here is my form code
in a partial for the index action of a controller:
<% form_tag({:controller => controller_name, :action => ''index''},
{:method => :get, :class => ''form''}) do %>
<div class="columns">
<div class="column left">
<p>