Displaying 2 results from an estimated 2 matches for "greetingscontrol".
2010 Jul 02
17
Doesn't work erb engine
I''m new in RoR:)
I have controller and view (/app/controllers/greeting_controller.rb
and /app/views/greeting/index.rhtml /.erb/.html.erb - doesn''t match).
greeting_controller.rb source:
class GreetingController < ApplicationController
def index
@message = "Hello world!"
end
end
index.rhtml source:
<html>
2011 Mar 25
4
how to solve ActiveRecord::ConnectionNotEstablished
*im using mysql as a database*
*
*
*im getting the error which says that *
ActiveRecord::ConnectionNotEstablished in GreetingsController#index
ActiveRecord::ConnectionNotEstablished
Rails.root: C:/railsdev/hello
Application Trace <http://localhost:3000/#> | Framework Trace<http://localhost:3000/#>
| Full Trace <http://localhost:3000/#>
app/controllers/greetings_controller.rb:7:in `index''
*please as...