[Rails] Re: Agile book apache2.conf: Forbidden You don't have permission to access / on this server.

2011-10-20 Thread Nathan Wu
try this AllowOverride None and put index.html in this dir /home/railsapps/rails_3/depot/public/ then access index.html page On Oct 20, 9:17 pm, akkdio akk...@gmail.com wrote: Appreciate any help - I am working through Agile web development (4.0) and am stuck on the deployment using phusion

[Rails] Re: meta tags via helper - assistance needed

2011-10-18 Thread Nathan Wu
module LayoutHelper def title(page_title, show_title = true) content_for(:title) { h(page_title.to_s) } @show_title = show_title end def show_title? @show_title end def stylesheet(*args) content_for(:head) { stylesheet_link_tag(*args) } end def javascript(*args)

[Rails] Re: Using wget in Rails controller

2011-10-14 Thread Nathan Wu
try exec i think On Oct 13, 6:16 pm, merbivore eshward...@gmail.com wrote: Guys some body please help me in this. On Oct 13, 2:14 pm, merbivore eshward...@gmail.com wrote: Hi,    I have a link and am getting the csv file when i do in the terminal. I would like to do that in rails