search for: purchase_url

Displaying 14 results from an estimated 14 matches for "purchase_url".

2008 Feb 27
7
older version of rails -- Unknown action error
...ew'' # Keep in mind you can assign values other than :controller and :action # Sample of named route: # map.purchase ''products/:id/purchase'', :controller => ''catalog'', :action => ''purchase'' # This route can be invoked with purchase_url(:id => product.id) # You can have the root of your site routed by hooking up '''' # -- just remember to delete public/index.html. # map.connect '''', :controller => "welcome" # Allow downloading Web Service WSDL as a file with an extension...
2008 Feb 20
1
link_to weirdness, related to namespace?
...ew'' # Keep in mind you can assign values other than :controller and :action # Sample of named route: # map.purchase ''products/:id/purchase'', :controller => ''catalog'', :action => ''purchase'' # This route can be invoked with purchase_url(:id => product.id) # You can have the root of your site routed by hooking up '''' # -- just remember to delete public/index.html. # map.connect '''', :controller => "welcome" # Allow downloading Web Service WSDL as a file with an extension...
2007 Aug 27
1
Error 500 when displaying after creating a controller
...'view'' # Keep in mind you can assign values other than :controller and :action # Sample of named route: # map.purchase ''products/:id/purchase'', :controller => ''catalog'', :action => '' purchase'' # This route can be invoked with purchase_url(:id => product.id) # You can have the root of your site routed by hooking up '''' # -- just remember to delete public/index.html. # map.connect '''', :controller => "welcome" # Allow downloading Web Service WSDL as a file with an extension # instead...
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:
2008 May 04
5
simple Routing Error
Routing Error No route matches "/user/register" with {:method=>:get} The URL is http://localhost:3000/user/register Here is app/views/user/register.rhtml <h2>Register</h2> <% form_for :user do |form| %> <fieldset> <legend>Enter Your Details</legend> <div class="form_row"> <label
2006 Jul 31
7
Problem with routes when I move the app to a different machine
Hi all: I have an application that runs great on my macbook pro, however, when I move the app to the production linux box, all routes fail except for the one I set up as the default: map.connect '':controller/:action/:id'', :controller => "Employee", :action => "status" I made sure the shebang line in dispatch.* was set to be OS independent
2008 Jul 23
0
undefined method `first' for :users:Symbol
...ew'' # Keep in mind you can assign values other than :controller and :action # Sample of named route: # map.purchase ''products/:id/purchase'', :controller => ''catalog'', :action => ''purchase'' # This route can be invoked with purchase_url(:id => product.id) # You can have the root of your site routed by hooking up '''' # -- just remember to delete public/index.html. # map.connect '''', :controller => "welcome" # Allow downloading Web Service WSDL as a file with an extension...
2006 Mar 28
8
1.1 broke my app
I upgraded to Rails 1.1 (ruby 1.8.2 and ruby 1.8.4 on RHEL 4 using webrick or fastcgi) and all of a sudden I get this hitting a controller: wrong number of arguments (1 for 0) RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/base.rb:379:in
2006 Aug 01
11
strange bugs while using mongrel, while running in development (and also sometimes in production mode)
Following errors are taken from monrgrel running in development mode. It complained routes.rb, no such file or directory and then sometimes i get application.rb, no such file or directory.Doesn''t seem correct to me. Though not so often, but even production servers throw these errors sometimes, and i have no special routes setup or something.Its pretty much default one, except few changes
2011 May 07
11
changing routes.rb
Hi, I''m a complete beginner and I just have a simple question: How do I change lines in a file like routes.rb? I know the command type (i.e type config\routes.rb) but that just shows it and doesn''t allow me to change anything. Thanks in advance -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby
2011 May 19
0
Unable to find the image path via file system using the paperclip plugin through the get method
...# Keep in mind you can assign values other than :controller and :action # Sample of named route: # map.purchase ''products/:id/purchase'', :controller => ''catalog'', :action => ''purchase'' # This route can be invoked with purchase_url(:id => product.id) # Sample resource route (maps HTTP verbs to controller actions automatically): # map.resources :products # Sample resource route with options: # map.resources :products, :member => { :short => :get, :toggle => :post }, :collection => {...
2006 May 06
23
New Rails app is not working... I am missing something
Hi, So I have two rails applications working on my box. Theya re both tutorials that I walked through step by step. Now I am trying to write my own application and something is not working. My server is OS X 10.3.x. I am using Apache 1.3.x as the webserver with fcgi. As I mentioned before all is well with the apps that I had walk through tutorials with, but my app is not working. I
2007 Jun 15
4
404 Error in any controller/action on Media Temple
Hi everybody. I''m a newbie on RoR. I have some experiencie developing in PHP or Java, but I''m just starting with RoR. A few days ago I signed up to the (gs) Grid Service on Media Temple. This is my very first experience deplying RoR on a production enviroment. Until now I just used the WebRick server on developement. Well, the problem I''m having is that after
2008 Mar 08
9
Validation error handling on related models
I have 2 models, entity and client. Entity has_one client and client belongs_to entity. Entity has attributes name and legal_name. Entity also has an unique index on (lower(name)). The pKey for both is the conventional Rails id. Client has a fKey constraint on entity_id and is indexed in entity_id. In controllers/clients_controller.rb I have: # GET /clients/new # GET /clients/new.xml