-
as seen on Stack Overflow
- Search for 'Stack Overflow'
this is from the development log...
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:101:in `dispatch_cgi'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:27:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a controller called 'exposures' which I created automatically with the script/generate scaffold call. The scaffold pages work fine. I created a custom action called 'test' in the exposures controller. When I try to call the page (http://127.0.0.1:3000/exposures/test/1) I get a blank, white…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi all,
I'm trying to use url_for(:back) to create a redirect leading back to a previous page upon a user's logging in.
I've had it working successfully for when the user just goes to the login page on his or her own. However, when the user is redirected to the login page due to accessing a page…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have been trying to solve this for ages and can't figure it out.
I have a form like so (taking out a lot of other fields)
<% form_for @machine_enquiry, machine_enquiry_path(@machine_enquiry) do|me_form| %>
<% me_form.fields_for :messages_attributes do |f| %>
<%= f.text_field…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I am attempting to simulate my site's production environment as closely as I can on my local machine. This is a rails site that uses Apache w/ mod_proxy to forward requests to a mongrel cluster. On my Mac OSX Leopard machine, I have the default install of apache running and have configured a vhost…
>>> More