Displaying 20 results from an estimated 2000 matches similar to: "RoutingError"
2008 Feb 04
2
attachment_fu and form_tag for multiple models?
hi, i''ve got a page where i''m trying to save the user''s profile
information and an image of the user, but i''m having trouble with using
attachment_fu and the form_tag method.
now i know attachment_fu isn''t designed for form_tag but am really
hoping someone has a solution for this as frankly i''m stumped.
here''s the form_tag part in
2010 Apr 26
0
ActionController::RoutingError
Hi All, I am just learning Rails. I had encountered a routing error,
though I think I have specified the correct rules in the routing.rb. I
have attached the code. Please help
routing.rb
map.connect '':controller/:action''
map.connect '':controller/:action/:id''
map.connect '':controller/:action/:id.:format''
Controller
class
2007 Feb 09
7
Upload image without rmagic
I need a way to upload an image and display it without using any of
the plugins that use rmagic. I have used the plugins (file_column,
fleximage) which both use rmagic and gave me problems (never got
fleximage to work)
Thanks in advance - K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2009 Sep 26
3
how to pass value to method in controller
how to pass value to method in controller using button_to_remote
button_to_remote ''check avaliability'',
:url => { :action => ''check_for_unique_login'', :login =>
@user.login}
above code is not working.
--
Posted via http://www.ruby-forum.com/.
2011 Feb 18
1
why 'Template missing' error with form_tag?
ROR newbie here...
I''m trying to build a form to upload a CSV file, then parse and store the
data. I have debugged this code up this point, but now when I browse to my
csv file, and click Upload, I get this error:
"Missing template uploads/process_file.html.erb in view path..."
Here is my view (in /uploads/new.html.erb)
<% form_tag ({:action =>
2011 May 04
5
rails mongoid
I have a strange problem. Suppose I have a user model with only name
field.
I can add a field with value by creating an instance in mongodb rails
environment.
Example:
class User
include Mongoid::Document
field :name
end
Now in rails console, If you do
user = User.new
user[:name] = "xxxx"
user[:firstname] = "yyyy"
user.save
The record gets created with name and
2009 Oct 26
1
DAHDI not detecting RINGING Status on the Channel
I am using an 8 port tdm card and also I implemented a dialer using a
.call file generator. As you know on the .call you specify the channel to
call and then the contex/extension/priority to let dial plan continue when
the call is bridge.
My actual problem is that when the call process starts, asterisk (DAHDI)
sets the channel as answered when the truth is that on the other side the
channel has
2006 May 31
4
acts_as_attachment , someone using it?
Hi, i just found the acts_as_attachment plugin for image upload, seems
sogood but i cant find any docs about it, if someone here using it can
give some references or working examples about the plugin that will be
excellent.
So what you wanna rails today?
--
Posted via http://www.ruby-forum.com/.
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
2006 Jul 24
1
All functional tests fail with RoutingError
All,
I''m using InstantRails 1.0 on Windows XP and all my functional
(controller) tests fail with ActionController::RoutingError, although
the actions work OK through a web server/browser. Here''s an example of
an error:
1) Error:
test_create(AdminControllerTest):
ActionController::RoutingError: No url can be generated for the hash
{:controlle
r=>"admin",
2006 Feb 26
0
rescue_action with RoutingError not loading ApplicationController/ApplicationHelper
Why is it that when rescue_action is called with any exception except for
RoutingError, "self" refers to a controller within my application, but when
there''s a RoutingError, "self" refers to an object of
ActionController::Base? This makes some sense because a "RoutingError"
implies that no controller was found to process the request. However, I am
trying to
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 =>
2006 Mar 07
2
webrick RoutingError
problem: webrick will start a rails server, but I cannot access my
application. I get the error:
Processing Base#index (for 127.0.0.1 at Tue Mar 07 19:16:58 CET 2006)
Parameters: {}
ActionController::RoutingError (Recognition failed for
"/keywordeditor"):
my application is called keywordeditor. I am starting the server from
the correct place with the correct command (I already
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
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'',
2008 Oct 17
0
RoutingError from css background image url
In my css file, I have a css element that has a background image
that''s defined as
background: url(/images/global/tab-arrow.gif) no-repeat 16px 8px ;
This throws a Routing Error when an element with that class gets
rendered
ActionController::RoutingError (No route matches "/images/" with
{:domain=>"localhost", :method=>:get, :subdomain=>nil,
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 Jul 14
1
RoutingError with RSpec Controller test on Scoped Route
So I have a route that looks like this:
scope "4" do
scope "public" do
scope ":apikey" do
resources :shops
end
end
end
And a bunch of controller specs, an example of which looks like this:
describe ShopsController do
describe "when responding to a GET" do
context "#new" do
it "should create a new instance
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''