On Jul 24, 4:31 pm, Sam Matt <[email protected]> wrote:
> Hi All,
>    I am new to ROR and I am experiencing a few problems viewing my first
> app. Can anyone pls help me to get my first app up and running?
>
> I created a rails application called my_app. I created a controller
> called hello.
>
> It looks something like this.
> class HelloController < ApplicationController
>
> def display
> end
>
> end
>
> When I typehttp://localhost:3000/hello/display   it says "we are sorry
> but something went wrong" message. I know it is looking for a view and
> when I created a view called display.rhtml with text "welcome on board"
> without any html tags and reloaded the browser window instead of
> displaying welcome on board in plain text it again is displaying "we are
> sorry but something went wrong".
>
> can anyone pls let me know where I am going wrong?

Have a peek inside your app's development.log for a better explanation
of what is wrong (I'm guessing its something like that app is set to
use an sqlite3 database but you don't have sqlite3 (or its bindings
for ruby))
> --
> Posted viahttp://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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to