[Rails] Re: Rails 3 telling me route doesn't exist

2010-05-27 Thread Adam Leonard
genki...@gmail.com wrote: > Dude, it's new_category_subcategory_path(@category), you missed a > "_path" Yeah I found out today, I feel really stupid :/ -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" g

[Rails] Re: Rails 3 telling me route doesn't exist

2010-05-26 Thread Adam Leonard
Mike wrote: > Does "rake routes" show anything helpful? It shows me that the route exists. new_admin_session GET/admins/sign_in {:controller=>"devise/sessions", :action=>"new"} admin_session POST /admins/sign_in {:controller=>"devise/sessions", :action=>"create"} d

[Rails] Rails 3 telling me route doesn't exist

2010-05-26 Thread Adam Leonard
-- category.rb class Category < ActiveRecord::Base has_many :subcategories validates_presence_of :name validates_uniqueness_of :name end -- subcategory.rb class Subcategory < ActiveRecord::Base belongs_to :category end -- categories_controller.rb def show @category = Category.find_by

[Rails] Re: Rails 3 Routing problem

2010-05-20 Thread Adam Leonard
Conrad Taylor wrote: > On Thu, May 20, 2010 at 12:57 PM, Adam Leonard > wrote: > >> > Please post the routes file or the relevant sections of it to better > assist > you? > > -Conrad http://privatepaste.com/64e55f8503 is my full routes file. -- Posted

[Rails] Rails 3 Routing problem

2010-05-20 Thread Adam Leonard
I have moved some of my development on to my server. http://ls1.bigseapreview.com . The homepage works just fine, but any other route isn't correctly working. If I attempt to go to http://ls1.bigseapreview.com/about, it throws a 404, but this all works locally. I'm using Phusion Passenger, if tha