Hello everyone, I am following the Practical Rails: Social Networking sites book. In chapter 7 photo gallery I am getting a NoMethodError in Pages#show Showing layouts/_menu.rhtml where line #12 raised: undefined method `new_entry_path'' for #<ActionView::Base:0x52fa56c> Extracted source (around line #12): 9: <% if is_logged_in? %> 10: <li>Logged in as: <i><%= logged_in_user.username %></i></li> 11: <li><%= link_to ''My Profile'', edit_user_path(logged_in_user) %></li> 12: <li><%= link_to ''New Blog Post'', new_entry_path(:user_id => logged_in_user) -%></li> 13: <li><%= link_to ''Upload Photo'', user_new_photo_path(:user_id => logged_in_user) -%></li> 14: <li><%= link_to ''Logout'', {:controller => ''account'', :action => ''logout''}, :method => :post %></li> 15: <% else %> I am using rails 2.0.2 over windows vista. Can someone please explain me whats wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Do you have a controller named entries? Do you have a route set up for it: map.resources :entries On Jan 22, 2008 8:52 AM, stranger <strangersquest-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hello everyone, > > I am following the Practical Rails: Social Networking > sites book. In chapter 7 photo gallery I am getting a > > NoMethodError in Pages#show > > Showing layouts/_menu.rhtml where line #12 raised: > > undefined method `new_entry_path'' for #<ActionView::Base:0x52fa56c> > > Extracted source (around line #12): > > 9: <% if is_logged_in? %> > 10: <li>Logged in as: <i><%= logged_in_user.username %></i></li> > 11: <li><%= link_to ''My Profile'', edit_user_path(logged_in_user) > %></li> > 12: <li><%= link_to ''New Blog Post'', new_entry_path(:user_id => > logged_in_user) -%></li> > 13: <li><%= link_to ''Upload Photo'', user_new_photo_path(:user_id > => logged_in_user) -%></li> > 14: <li><%= link_to ''Logout'', {:controller => ''account'', :action > => ''logout''}, :method => :post %></li> > 15: <% else %> > > > > I am using rails 2.0.2 over windows vista. Can someone please explain > me whats wrong? > > >-- Ryan Bigg http://www.frozenplague.net Feel free to add me to MSN and/or GTalk as this email. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ya I have a ''entries_controller.rb'' where index, new create, edit and destroy are defined. and in routes.rb map.resources :articles, :collection => {:admin => :get} On Jan 21, 2:29 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Do you have a controller named entries? Do you have a route set up for it: > > map.resources :entries > > On Jan 22, 2008 8:52 AM, stranger <strangersqu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > Hello everyone, > > > I am following the Practical Rails: Social Networking > > sites book. In chapter 7 photo gallery I am getting a > > > NoMethodError in Pages#show > > > Showing layouts/_menu.rhtml where line #12 raised: > > > undefined method `new_entry_path'' for #<ActionView::Base:0x52fa56c> > > > Extracted source (around line #12): > > > 9: <% if is_logged_in? %> > > 10: <li>Logged in as: <i><%= logged_in_user.username %></i></li> > > 11: <li><%= link_to ''My Profile'', edit_user_path(logged_in_user) > > %></li> > > 12: <li><%= link_to ''New Blog Post'', new_entry_path(:user_id => > > logged_in_user) -%></li> > > 13: <li><%= link_to ''Upload Photo'', user_new_photo_path(:user_id > > => logged_in_user) -%></li> > > 14: <li><%= link_to ''Logout'', {:controller => ''account'', :action > > => ''logout''}, :method => :post %></li> > > 15: <% else %> > > > I am using rails 2.0.2 over windows vista. Can someone please explain > > me whats wrong? > > -- > Ryan Bigghttp://www.frozenplague.net > Feel free to add me to MSN and/or GTalk as this email.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
You''re doing map.resources :articles yet you''re trying to do new_entry_path. Try new_article_path instead. On Jan 22, 2008 9:04 AM, stranger <strangersquest-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Ya I have a ''entries_controller.rb'' where index, new create, edit and > destroy are defined. and in routes.rb > > map.resources :articles, :collection => {:admin => :get} > > On Jan 21, 2:29 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Do you have a controller named entries? Do you have a route set up for > it: > > > > map.resources :entries > > > > On Jan 22, 2008 8:52 AM, stranger <strangersqu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > > > > > Hello everyone, > > > > > I am following the Practical Rails: Social Networking > > > sites book. In chapter 7 photo gallery I am getting a > > > > > NoMethodError in Pages#show > > > > > Showing layouts/_menu.rhtml where line #12 raised: > > > > > undefined method `new_entry_path'' for #<ActionView::Base:0x52fa56c> > > > > > Extracted source (around line #12): > > > > > 9: <% if is_logged_in? %> > > > 10: <li>Logged in as: <i><%= logged_in_user.username %></i></li> > > > 11: <li><%= link_to ''My Profile'', edit_user_path(logged_in_user) > > > %></li> > > > 12: <li><%= link_to ''New Blog Post'', new_entry_path(:user_id => > > > logged_in_user) -%></li> > > > 13: <li><%= link_to ''Upload Photo'', user_new_photo_path(:user_id > > > => logged_in_user) -%></li> > > > 14: <li><%= link_to ''Logout'', {:controller => ''account'', :action > > > => ''logout''}, :method => :post %></li> > > > 15: <% else %> > > > > > I am using rails 2.0.2 over windows vista. Can someone please explain > > > me whats wrong? > > > > -- > > Ryan Bigghttp://www.frozenplague.net > > Feel free to add me to MSN and/or GTalk as this email. > > >-- Ryan Bigg http://www.frozenplague.net Feel free to add me to MSN and/or GTalk as this email. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
map.resources :users, :member => { :enable => :put } do |users| users.resources :roles users.resources :entries do |entry| entry.resources :comments end users.resources :photos, :name_prefix => ''user_'', :controller => ''user_photos'' end map.resources :articles, :collection => {:admin => :get} This is the ''entries'' in config.rb. I am creating a new blog post that is entry... On Jan 21, 2:38 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> You''re doing map.resources :articles yet you''re trying to do new_entry_path. > Try new_article_path instead. > > On Jan 22, 2008 9:04 AM, stranger <strangersqu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > Ya I have a ''entries_controller.rb'' where index, new create, edit and > > destroy are defined. and in routes.rb > > > map.resources :articles, :collection => {:admin => :get} > > > On Jan 21, 2:29 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Do you have a controller named entries? Do you have a route set up for > > it: > > > > map.resources :entries > > > > On Jan 22, 2008 8:52 AM, stranger <strangersqu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hello everyone, > > > > > I am following the Practical Rails: Social Networking > > > > sites book. In chapter 7 photo gallery I am getting a > > > > > NoMethodError in Pages#show > > > > > Showing layouts/_menu.rhtml where line #12 raised: > > > > > undefined method `new_entry_path'' for #<ActionView::Base:0x52fa56c> > > > > > Extracted source (around line #12): > > > > > 9: <% if is_logged_in? %> > > > > 10: <li>Logged in as: <i><%= logged_in_user.username %></i></li> > > > > 11: <li><%= link_to ''My Profile'', edit_user_path(logged_in_user) > > > > %></li> > > > > 12: <li><%= link_to ''New Blog Post'', new_entry_path(:user_id => > > > > logged_in_user) -%></li> > > > > 13: <li><%= link_to ''Upload Photo'', user_new_photo_path(:user_id > > > > => logged_in_user) -%></li> > > > > 14: <li><%= link_to ''Logout'', {:controller => ''account'', :action > > > > => ''logout''}, :method => :post %></li> > > > > 15: <% else %> > > > > > I am using rails 2.0.2 over windows vista. Can someone please explain > > > > me whats wrong? > > > > -- > > > Ryan Bigghttp://www.frozenplague.net > > > Feel free to add me to MSN and/or GTalk as this email. > > -- > Ryan Bigghttp://www.frozenplague.net > Feel free to add me to MSN and/or GTalk as this email.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Um, in that case it''s new_user_entry_path because entries is nested inside users. also it should be |user| not |users|. Have a read of this: http://frozenplague.net/2008/01/06/restful-routing-an-overview/ On Jan 22, 2008 9:19 AM, stranger <strangersquest-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > map.resources :users, :member => { :enable => :put } do |users| > users.resources :roles > users.resources :entries do |entry| > entry.resources :comments > end > users.resources :photos, :name_prefix => ''user_'', :controller => > ''user_photos'' > end > map.resources :articles, :collection => {:admin => :get} > > > This is the ''entries'' in config.rb. I am creating a new blog post that > is entry... > > > On Jan 21, 2:38 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > You''re doing map.resources :articles yet you''re trying to do > new_entry_path. > > Try new_article_path instead. > > > > On Jan 22, 2008 9:04 AM, stranger <strangersqu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > > > > > Ya I have a ''entries_controller.rb'' where index, new create, edit and > > > destroy are defined. and in routes.rb > > > > > map.resources :articles, :collection => {:admin => :get} > > > > > On Jan 21, 2:29 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Do you have a controller named entries? Do you have a route set up > for > > > it: > > > > > > map.resources :entries > > > > > > On Jan 22, 2008 8:52 AM, stranger <strangersqu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > Hello everyone, > > > > > > > I am following the Practical Rails: Social Networking > > > > > sites book. In chapter 7 photo gallery I am getting a > > > > > > > NoMethodError in Pages#show > > > > > > > Showing layouts/_menu.rhtml where line #12 raised: > > > > > > > undefined method `new_entry_path'' for > #<ActionView::Base:0x52fa56c> > > > > > > > Extracted source (around line #12): > > > > > > > 9: <% if is_logged_in? %> > > > > > 10: <li>Logged in as: <i><%= logged_in_user.username > %></i></li> > > > > > 11: <li><%= link_to ''My Profile'', > edit_user_path(logged_in_user) > > > > > %></li> > > > > > 12: <li><%= link_to ''New Blog Post'', new_entry_path(:user_id > => > > > > > logged_in_user) -%></li> > > > > > 13: <li><%= link_to ''Upload Photo'', > user_new_photo_path(:user_id > > > > > => logged_in_user) -%></li> > > > > > 14: <li><%= link_to ''Logout'', {:controller => ''account'', > :action > > > > > => ''logout''}, :method => :post %></li> > > > > > 15: <% else %> > > > > > > > I am using rails 2.0.2 over windows vista. Can someone please > explain > > > > > me whats wrong? > > > > > > -- > > > > Ryan Bigghttp://www.frozenplague.net > > > > Feel free to add me to MSN and/or GTalk as this email. > > > > -- > > Ryan Bigghttp://www.frozenplague.net > > Feel free to add me to MSN and/or GTalk as this email. > > >-- Ryan Bigg http://www.frozenplague.net Feel free to add me to MSN and/or GTalk as this email. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I''m sorry for the late reply....I am still getting the same error. <% if is_logged_in? %> <li>Logged in as: <i><%= logged_in_user.username %></i></li> <li><%= link_to ''My Profile'', edit_user_path(logged_in_user) %></ li> <li><%= link_to ''New Blog Post'', new_entry_path(:user_id => logged_in_user) -%></li> <li><%= link_to ''Upload Photo'', user_new_photo_path(:user_id => logged_in_user) -%></li> <li><%= link_to ''Logout'', {:controller => ''account'', :action => ''logout''}, :method => :post %></li> <% else %> <li><%= link_to ''Signup'', :controller => ''users'', :action => ''new'' %></li> <li><%= link_to ''Login'', :controller => ''account'', :action => ''login'' %></li> <% end %> When I try to reach the page without logging I am able to see the localhost:3000/photos and index. But when I login and the above block of code gets executed I am getting the error. undefined method `new_entry_path'' for #<ActionView::Base:0x50d9f6c> On Jan 21, 2:55 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Um, in that case it''s new_user_entry_path because entries is nested inside > users. also it should be |user| not |users|. > > Have a read of this:http://frozenplague.net/2008/01/06/restful-routing-an-overview/ > > On Jan 22, 2008 9:19 AM, stranger <strangersqu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > map.resources :users, :member => { :enable => :put } do |users| > > users.resources :roles > > users.resources :entries do |entry| > > entry.resources :comments > > end > > users.resources :photos, :name_prefix => ''user_'', :controller => > > ''user_photos'' > > end > > map.resources :articles, :collection => {:admin => :get} > > > This is the ''entries'' in config.rb. I am creating a new blog post that > > is entry... > > > On Jan 21, 2:38 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > You''re doing map.resources :articles yet you''re trying to do > > new_entry_path. > > > Try new_article_path instead. > > > > On Jan 22, 2008 9:04 AM, stranger <strangersqu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Ya I have a ''entries_controller.rb'' where index, new create, edit and > > > > destroy are defined. and in routes.rb > > > > > map.resources :articles, :collection => {:admin => :get} > > > > > On Jan 21, 2:29 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Do you have a controller named entries? Do you have a route set up > > for > > > > it: > > > > > > map.resources :entries > > > > > > On Jan 22, 2008 8:52 AM, stranger <strangersqu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > Hello everyone, > > > > > > > I am following the Practical Rails: Social Networking > > > > > > sites book. In chapter 7 photo gallery I am getting a > > > > > > > NoMethodError in Pages#show > > > > > > > Showing layouts/_menu.rhtml where line #12 raised: > > > > > > > undefined method `new_entry_path'' for > > #<ActionView::Base:0x52fa56c> > > > > > > > Extracted source (around line #12): > > > > > > > 9: <% if is_logged_in? %> > > > > > > 10: <li>Logged in as: <i><%= logged_in_user.username > > %></i></li> > > > > > > 11: <li><%= link_to ''My Profile'', > > edit_user_path(logged_in_user) > > > > > > %></li> > > > > > > 12: <li><%= link_to ''New Blog Post'', new_entry_path(:user_id > > => > > > > > > logged_in_user) -%></li> > > > > > > 13: <li><%= link_to ''Upload Photo'', > > user_new_photo_path(:user_id > > > > > > => logged_in_user) -%></li> > > > > > > 14: <li><%= link_to ''Logout'', {:controller => ''account'', > > :action > > > > > > => ''logout''}, :method => :post %></li> > > > > > > 15: <% else %> > > > > > > > I am using rails 2.0.2 over windows vista. Can someone please > > explain > > > > > > me whats wrong? > > > > > > -- > > > > > Ryan Bigghttp://www.frozenplague.net > > > > > Feel free to add me to MSN and/or GTalk as this email. > > > > -- > > > Ryan Bigghttp://www.frozenplague.net > > > Feel free to add me to MSN and/or GTalk as this email. > > -- > Ryan Bigghttp://www.frozenplague.net > Feel free to add me to MSN and/or GTalk as this email.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Because you''re STILL calling new_entry_path when I told you it should be new_user_entry_path(@user) either that or define map.resources :entries inside of your routes.rboutside of the user block. On Jan 22, 2008 2:35 PM, stranger <strangersquest-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''m sorry for the late reply....I am still getting the same error. > > <% if is_logged_in? %> > <li>Logged in as: <i><%= logged_in_user.username %></i></li> > <li><%= link_to ''My Profile'', edit_user_path(logged_in_user) %></ > li> > <li><%= link_to ''New Blog Post'', new_entry_path(:user_id => > logged_in_user) -%></li> > <li><%= link_to ''Upload Photo'', user_new_photo_path(:user_id => > logged_in_user) -%></li> > <li><%= link_to ''Logout'', {:controller => ''account'', :action => > ''logout''}, :method => :post %></li> > <% else %> > <li><%= link_to ''Signup'', :controller => ''users'', :action => ''new'' > %></li> > <li><%= link_to ''Login'', :controller => ''account'', :action => > ''login'' %></li> > <% end %> > > When I try to reach the page without logging I am able to see the > localhost:3000/photos and index. But when I login and the above block > of code gets executed I am getting the error. > undefined method `new_entry_path'' for #<ActionView::Base:0x50d9f6c> > > On Jan 21, 2:55 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Um, in that case it''s new_user_entry_path because entries is nested > inside > > users. also it should be |user| not |users|. > > > > Have a read of this: > http://frozenplague.net/2008/01/06/restful-routing-an-overview/ > > > > On Jan 22, 2008 9:19 AM, stranger <strangersqu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > > > > > map.resources :users, :member => { :enable => :put } do |users| > > > users.resources :roles > > > users.resources :entries do |entry| > > > entry.resources :comments > > > end > > > users.resources :photos, :name_prefix => ''user_'', :controller => > > > ''user_photos'' > > > end > > > map.resources :articles, :collection => {:admin => :get} > > > > > This is the ''entries'' in config.rb. I am creating a new blog post that > > > is entry... > > > > > On Jan 21, 2:38 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > You''re doing map.resources :articles yet you''re trying to do > > > new_entry_path. > > > > Try new_article_path instead. > > > > > > On Jan 22, 2008 9:04 AM, stranger <strangersqu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > Ya I have a ''entries_controller.rb'' where index, new create, edit > and > > > > > destroy are defined. and in routes.rb > > > > > > > map.resources :articles, :collection => {:admin => :get} > > > > > > > On Jan 21, 2:29 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > Do you have a controller named entries? Do you have a route set > up > > > for > > > > > it: > > > > > > > > map.resources :entries > > > > > > > > On Jan 22, 2008 8:52 AM, stranger <strangersqu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > > > > > > > Hello everyone, > > > > > > > > > I am following the Practical Rails: Social > Networking > > > > > > > sites book. In chapter 7 photo gallery I am getting a > > > > > > > > > NoMethodError in Pages#show > > > > > > > > > Showing layouts/_menu.rhtml where line #12 raised: > > > > > > > > > undefined method `new_entry_path'' for > > > #<ActionView::Base:0x52fa56c> > > > > > > > > > Extracted source (around line #12): > > > > > > > > > 9: <% if is_logged_in? %> > > > > > > > 10: <li>Logged in as: <i><%= logged_in_user.username > > > %></i></li> > > > > > > > 11: <li><%= link_to ''My Profile'', > > > edit_user_path(logged_in_user) > > > > > > > %></li> > > > > > > > 12: <li><%= link_to ''New Blog Post'', > new_entry_path(:user_id > > > => > > > > > > > logged_in_user) -%></li> > > > > > > > 13: <li><%= link_to ''Upload Photo'', > > > user_new_photo_path(:user_id > > > > > > > => logged_in_user) -%></li> > > > > > > > 14: <li><%= link_to ''Logout'', {:controller => ''account'', > > > :action > > > > > > > => ''logout''}, :method => :post %></li> > > > > > > > 15: <% else %> > > > > > > > > > I am using rails 2.0.2 over windows vista. Can someone please > > > explain > > > > > > > me whats wrong? > > > > > > > > -- > > > > > > Ryan Bigghttp://www.frozenplague.net > > > > > > Feel free to add me to MSN and/or GTalk as this email. > > > > > > -- > > > > Ryan Bigghttp://www.frozenplague.net > > > > Feel free to add me to MSN and/or GTalk as this email. > > > > -- > > Ryan Bigghttp://www.frozenplague.net > > Feel free to add me to MSN and/or GTalk as this email. > > >-- Ryan Bigg http://www.frozenplague.net Feel free to add me to MSN and/or GTalk as this email. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---