Displaying 2 results from an estimated 2 matches for "some_method_name".
2008 Feb 16
4
controller initializer function??
Hi, i''m a php developer and am used to developing using the zend
framework, recently i have discovered the wonders of rails, and have a
simple question:
In zend in your controller you can make a function called init() which
will always run for every action inside that controller, how can i
make an initializer function in a rails controller?
I''ve searched but havent found much
2012 Feb 03
10
ruby on rails 3 tutorial book chapter9 Signin Failure
Hi I have problem trying to pass the signin failure test.
This is the test code of the sessions_controller.rb
def create
user = User.authenticate(params[:session][:email],
params[:session][:password])
if user.nil?
flash.now[:error] = "Invalid email/password combination."
@title = "Sign in"
render