Hi all,
maybe is a newbie question anyway
1. I create de rails app with
# rails new {my app}
2. after I add some gem to my Gemfile
source ''http://rubygems.org''
gem ''rails'', ''3.1.1''
gem ''sqlite3''
gem ''simple_form''
gem ''execjs''
gem ''therubyracer''
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem ''sass-rails'', ''~> 3.1.4''
gem ''coffee-rails'', ''~> 3.1.1''
gem ''uglifier'', ''>= 1.0.3''
end
gem ''jquery-rails''
group :test do
# Pretty printed test output
gem ''turn'', :require => false
end
3. after I create a formonline with a scaffold
rails generate scaffold FormOnline comune:string provincia:string
richiedente:text email_richiedente:string
4. after I delete the /public/index.html the file
5. Change the config/routes.rb file with this code
MyApp::Application.routes.draw do
resources :formonline
root :to => ''formnline#index''
end
**** ISSUE ****
when I reload the home page I have no problem but when I have to click
in the link like
''new_formonline_path''
can''t see the page is a problem of vhost file config? or I have to
chage
the config/routes.rb file
thank you in advances
Cluter
--
Posted via http://www.ruby-forum.com/.
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.