Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Refinery does not route to home page for root
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
vertigon451  
View profile  
 More options Nov 25 2011, 12:52 pm
From: vertigon451 <vertigon...@gmail.com>
Date: Fri, 25 Nov 2011 09:52:39 -0800 (PST)
Local: Fri, Nov 25 2011 12:52 pm
Subject: Refinery does not route to home page for root
When I visit 0.0.0.0:3000, my refinery-based website used to go to the
"Home" page, but it doesn't any more. Now it shows a message that "The
page you were looking for doesn't exist."

This started happening after I accidentally called rake db:reset on my
local database and had to re-enter all the page content by hand.  Once
I set up the pages in refinery again, the pages work fine if I specify
them directly by url.  (i.e. 0.0.0.0:3000/home or 0.0.0.0:3000/about),
but 0.0.0.0:3000 doesn't route to 0.0.0.0:3000/home any more, which is
the desired behavior.

Any ideas?

Here's what show's up in the terminal:

Started GET "/" for 127.0.0.1 at 2011-11-25 12:30:31 -0500
  Processing by PagesController#home as HTML
  Parameters: {"locale"=>:en}
  SQL (1.0ms)   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'

  SQL (0.4ms)   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  Page::Translation Load (0.2ms)  SELECT page_id AS id FROM
"page_translations" WHERE "page_translations"."locale" = 'en'
  Role Load (0.2ms)  SELECT "roles".* FROM "roles" WHERE
"roles"."title" = 'Refinery' LIMIT 1
  User Load (1.0ms)  SELECT * FROM "users" INNER JOIN "roles_users" ON
"users".id = "roles_users".user_id WHERE ("roles_users".role_id = 1 )
  Page Load (0.2ms)  SELECT "pages".* FROM "pages" WHERE
"pages"."link_url" = '/' LIMIT 1
  Page Load (0.1ms)  SELECT "pages".* FROM "pages" WHERE
"pages"."menu_match" = '^/404$' LIMIT 1
Rendered public/404.html (0.4ms)
  User Load (60.3ms)  SELECT "users".* FROM "users" WHERE "users"."id"
= 1 LIMIT 1
  Role Load (0.2ms)  SELECT * FROM "roles" INNER JOIN "roles_users" ON
"roles".id = "roles_users".role_id WHERE ("roles_users".user_id = 1 )
Completed 404 Not Found in 365ms (Views: 12.7ms | ActiveRecord: 3.0ms)

Thanks,
Jeremy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.