Is there a way to create what is basically a 1 page website, something that just does a redirect or a single submit form etc. It seems like an entire Rails site with controllers etc is too much. Maybe something with a single .rb page .. who knows :) just learning Rails. thanks -c --~--~---------~--~----~------------~-------~--~----~ 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 don''t understand what you are looking for. could you be a little more specific. if you just want a single page, why not build a single html-page? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Rails is not good for 1-site-websites. The framework is "too big" for that, rendering takes more time than a plain html-file. You would need to have more than one site to have brenefits from rails like layout, DRY etc. But if you still want to learn rails by one-site-websites, checkout http://www.buildingwebapps.com/learningrails It''s for free. The first one or two screencast deal with that. Greetings & have fun Chris --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
If you don''t want to use Active Record (database), just configure environment.rb to exclude it. Generate (scaffold) 1 controller and fill in the actions / views as you like. Cheers, SAzima On Jan 9, 1:04 am, typemismatch <craigw9...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is there a way to create what is basically a 1 page website, something > that just does a redirect or a single submit form etc. It seems like > an entire Rails site with controllers etc is too much. > > Maybe something with a single .rb page .. who knows :) just learning > Rails. > > thanks > -c--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Jan 8, 9:04 pm, typemismatch <craigw9...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is there a way to create what is basically a 1 page website, something > that just does a redirect or a single submit form etc. It seems like > an entire Rails site with controllers etc is too much. > > Maybe something with a single .rb page .. who knows :) just learning > Rails. > > thanks > -cWhat you ask is definitely possible, but I would ask what you are exactly trying to do. --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I find that Sinatra is great for small web apps like simple database-backed forms or form mailers, or simple web services. http://github.com/bmizerany/sinatra/tree/master doppler On Thu, Jan 8, 2009 at 9:04 PM, typemismatch <craigw9292-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Is there a way to create what is basically a 1 page website, something > that just does a redirect or a single submit form etc. It seems like > an entire Rails site with controllers etc is too much. > > Maybe something with a single .rb page .. who knows :) just learning > Rails. > > thanks > -c > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Just as if I would not use a framing hammer to pound in a 4 penny finish nail, I wouldn''t use Rails for a 1 page website... Maybe php is what you''re looking for? -- 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-/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 -~----------~----~----~----~------~----~------~--~---
Redirect? How about just apache? index.html is a start... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---