BUMP BUMP BUMP
--
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@googlegroups.com
To unsub
Dan Sinclair wrote:
> Sijo Kg wrote:
>> Hi
>>
>> There you have to use
>>
>>and return
>>
>> as I said earlier..
>> Please read2.2.13 Avoiding Double Render Errors from
>> http://guides.rubyonrails.org/layouts_and_rendering.html
>>
>> Sijo
>
> It still doesn't work!!
>
Sijo Kg wrote:
> Hi
>
> There you have to use
>
>and return
>
> as I said earlier..
> Please read2.2.13 Avoiding Double Render Errors from
> http://guides.rubyonrails.org/layouts_and_rendering.html
>
> Sijo
It still doesn't work!!
It says that it's redirected in Termin
Hi
There you have to use
and return
as I said earlier..
Please read2.2.13 Avoiding Double Render Errors from
http://guides.rubyonrails.org/layouts_and_rendering.html
Sijo
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You
Sijo Kg wrote:
> Hi
>And what is wrong now? Did you ensure if session[:engine_host] is not
> set it enters to unless session[:engine_host].end
>For example write some puts inside unless
> session[:engine_host]..end
>
> And check if that happens according to what you specify
>
Hi
And what is wrong now? Did you ensure if session[:engine_host] is not
set it enters to unless session[:engine_host].end
For example write some puts inside unless
session[:engine_host]..end
And check if that happens according to what you specify
Sijo
--
Posted via http://ww
Sijo Kg wrote:
> Hi
> Please do like
> Application controller as it is
>
> class ApplicationController < ActionController::Base
> helper :all # include all helpers, all the time
> protect_from_forgery # See ActionController::RequestForgeryProtection
> for details
>
> # Scrub sensitive
Hi
Please do like
Application controller as it is
class ApplicationController < ActionController::Base
helper :all # include all helpers, all the time
protect_from_forgery # See ActionController::RequestForgeryProtection
for details
# Scrub sensitive parameters from your log
# filter
Sijo Kg wrote:
> Hi
>If it is needed by more controllers not only jobs controller you can
> move it to application.rb and the filter too..Does it call the filter?
>
> Sijo
the before_filter only appears in the job controller.
this is what i have:
#--#
# applic
Hi
If it is needed by more controllers not only jobs controller you can
move it to application.rb and the filter too..Does it call the filter?
Sijo
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subs
Sijo Kg wrote:
> redirect_to :controller => 'job', :action => 'index' and return false
what file should this be in? my ApplicationController of JobController?
I tried it individually in both, but to no avail...
Thanks for the speedy response!
--
Posted via http://www.ruby-forum.com/.
--~--~--
redirect_to :controller => 'job', :action => 'index' and return false
--
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, se
Hi
> def verify_login
> unless session[:engine_host]
> redirect_to :controller => 'job', :action => 'index'
> return false
> end
>
> return true
> end
Can u change it to
def verify_login
unless session[:engine_host]
redirect_to :controller => 'j
13 matches
Mail list logo