Displaying 19 results from an estimated 19 matches for "signout".
2012 Mar 06
0
Devise/Cancan Signout User On Controller Action
I have implemented Devise for Authentication and Authorization in ROR
application everything seems fine but getting one issue. I have two
modals "Account" and "Transactiona" , and so two controllers
respectively.
My Transaction Index view call one of Account Controller method like
this
2016 Sep 20
1
Windows 10 update kills samba access
...ble with the "Anniversary update" to W10
>>> Version 1607. If you can roll back to previous Version 15?? (sorry can't
>>> remember) that MIGHT correct your issue. No promises.
>> It's definitely that update that caused the problem.
> Do you get the "signout" or "dismiss" choices? If so, I have done no in
> depth testing but, I did "dismiss" and saved a text doc to the desktop.
> Signed out and logged back in and the text doc was still there on the
> desktop. So do not know enough to determine if it's a bug or secu...
2012 Sep 16
1
“Routing Error No route matches {}” when omniauth failed on registration
...gories#index''
ActiveAdmin.routes(self)
devise_for :admin_users, ActiveAdmin::Devise.config
match ''auth/:provider/callback'', to: ''sessions#create''
match ''auth/failure'', to: ''sessions#failure''
match ''signout'', to: ''sessions#destroy'', as: ''signout''
resources :identities#, only: [:new]
resources :categories, path: '''', only: [:index] do
resources :entries, path: '''', only: [:index, :show]
end
end
app/controllers/ide...
2006 Mar 24
2
Where to put array to be shared across models.
...I can do something like this in the models:
validates_exclusion_of :username, :in => RESERVED_WORDS, :message => "This
username is a reserved word. Please choose another."
Here is a sampling of the the array:
RESERVED_WORDS = %w( blog blogs forum forums search login logout signup
signout register help store )
Should I just subclass AR and then extend my models from this base class or
is there a way to stick it in one of the config files like environment.rb?
Thanks,
Zack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pi...
2016 Sep 20
2
Windows 10 update kills samba access
On 09/20/2016 03:54 PM, Bob of Donelson Trophy via samba wrote:
> All of us are having trouble with the "Anniversary update" to W10
> Version 1607. If you can roll back to previous Version 15?? (sorry can't
> remember) that MIGHT correct your issue. No promises.
It's definitely that update that caused the problem.
2006 Jun 15
11
Calling all of 7 million entries
Hi everyone, David R. here; I''m new to this mailing list but I''ve been
incredibly wrapped up in Ruby on Rails for the last two or three months.
I''ve built a fully functional web application and we''re about to roll it out
to our customers. However, my supervisor would like to add just one
more feature
to it: listing the number of online users for a particular
2006 Apr 21
1
Catch authentication result from a model in a controller
...on[:intended_action] = action_name
redirect_to :action => "signin_form"
end
end
def signin_form
render "login_form"
end
def signin
session[:user] = User.authenticate(params[:username],
params[:password]).id
redirect_to :action => session[:signin_form]
end
def signout
session[:user] = nil
redirect_to :action => "signin_form"
end
# ...the real application'' s actions would be here.
end
that?s it, ;)
--
Posted via http://www.ruby-forum.com/.
2008 Sep 12
1
restful_authentication rspec failures "Mysql::Error: Incorrect datetime value:"
...ntent:text
rake db:migrate
rake spec # 37 examples, 0 failures
git add .
git commit -a -m "blog with passing rspec tests"
ruby ./script/generate authenticated User Sessions
rake db:migrate # 288 examples, 193 failures
1)
ActiveRecord::StatementInvalid in ''SessionsController on signout
redirects me to the home page''
Mysql::Error: Incorrect datetime value: ''2008-09-13 21:22:52 UTC'' for
column ''remember_token_expires_at'' at row 1: INSERT INTO `users`
(`salt`, `updated_at`, `crypted_password`,
`remember_token_expires_at`, `id`, `remember_...
2013 Jul 05
0
Sign in and sign out
...implemented the same configuration as it said:
*sessions_helper.rb*
def sign_out
self.current_user = nil
cookies.delete(:remember_token)
end
*sessions_controller.rb*
def destroy
sign_out
redirect_to root_url
end
*application.html.erb*
<%= link_to "Sign out", signout_path, method: "delete" %>
*routes.rb*
match ''/signout'', to: ''sessions#destroy'', via: ''delete''
I am able to sign in, but I can''t sign out. The problem is that there are
not any log error and I don''t know wh...
2011 Jul 28
2
rails 3 routing error
...ns/new"
resources :users
resources :sessions, :only => [:new, :create, :destory]
#get "users/new"
match ''/signup'', :to => ''users#new''
match ''/signin'', :to => ''sessions#new''
match ''/signout'', :to => ''sessions#destroy''
match ''/about'', :to => ''pages#about''
match ''/contact'', :to => ''pages#contact''
match ''/help'', :to => ''pages#help''
r...
2011 Dec 20
4
Custom Devise Controller
Hi Guys,
I was wondering if sb could help me.
I have the following problem:
-I want to create a complex form using railscast tutorial (
http://railscasts.com/episodes/73-complex-forms-part-1). Well, to perform
this I need to update my controller(in this case the controller responsible
to manipulate user).
But I''m using Devise gem and I don''t know how I could manipulate the
2011 Nov 12
4
No route matches [GET] "/microposts/304"
...resources :sessions, :only => [:new, :create, :destroy]
resources :microposts, :only => [:create, :destroy]
match ''/signup'', :to => ''users#new''
match ''/signin'', :to => ''sessions#new''
match ''/signout'', :to => ''sessions#destroy''
match ''/contact'', :to => ''pages#contact''
match ''/about'', :to => ''pages#about''
match ''/help'', :to => ''pages#help''...
2017 Aug 20
2
Glusterd not working with systemd in redhat 7
...4-linux-gnu/libgfrpc.so.0(rpc_clnt_notify+0xab)
[0x7f8f7016d03b] -->/usr/sbin/glusterfs(+0x1041e) [0x55bfe6ff641e]
-->/usr/sbin/glusterfs(cleanup_and_exit+0x54) [0x55bfe6fef6e4] ) 0-:
received signum (1), shutting down
[2017-08-20 20:30:46.928068] D
[glusterfsd-mgmt.c:2653:glusterfs_mgmt_pmap_signout] 0-fsd-mgmt: portmapper
signout arguments not given
[2017-08-20 20:30:46.928085] I [fuse-bridge.c:5883:fini] 0-fuse: Unmounting
'/mnt/glusterfs/www'.
[2017-08-20 20:30:46.928447] D [logging.c:1764:gf_log_flush_extra_msgs]
0-logging-infra: Log buffer size reduced. About to flush 5 extra log...
2017 Aug 21
0
Glusterd not working with systemd in redhat 7
....so.0(rpc_clnt_notify+0xab)
> [0x7f8f7016d03b] -->/usr/sbin/glusterfs(+0x1041e) [0x55bfe6ff641e]
> -->/usr/sbin/glusterfs(cleanup_and_exit+0x54) [0x55bfe6fef6e4] ) 0-:
> received signum (1), shutting down
> [2017-08-20 20:30:46.928068] D [glusterfsd-mgmt.c:2653:glusterfs_mgmt_pmap_signout]
> 0-fsd-mgmt: portmapper signout arguments not given
> [2017-08-20 20:30:46.928085] I [fuse-bridge.c:5883:fini] 0-fuse:
> Unmounting '/mnt/glusterfs/www'.
> [2017-08-20 20:30:46.928447] D [logging.c:1764:gf_log_flush_extra_msgs]
> 0-logging-infra: Log buffer size reduced. Ab...
2017 Aug 21
1
Glusterd not working with systemd in redhat 7
...otify+0xab)
>> [0x7f8f7016d03b] -->/usr/sbin/glusterfs(+0x1041e) [0x55bfe6ff641e]
>> -->/usr/sbin/glusterfs(cleanup_and_exit+0x54) [0x55bfe6fef6e4] ) 0-:
>> received signum (1), shutting down
>> [2017-08-20 20:30:46.928068] D [glusterfsd-mgmt.c:2653:glusterfs_mgmt_pmap_signout]
>> 0-fsd-mgmt: portmapper signout arguments not given
>> [2017-08-20 20:30:46.928085] I [fuse-bridge.c:5883:fini] 0-fuse:
>> Unmounting '/mnt/glusterfs/www'.
>> [2017-08-20 20:30:46.928447] D [logging.c:1764:gf_log_flush_extra_msgs]
>> 0-logging-infra: Log buf...
2009 Sep 30
17
Apache2.2 + what to get Rails
Me: not experienced with Rails or Ruby,
Problem: Ubuntu 9.04 server in my shop ...couldn''t get Apache2.2 +
Passenger + Rails to work for Redmine. (No answer at Redmine list and
I don''t think its their problem anyway). Also couldn''t get Apache2.2
and just Rails to work, though some people said it would. Webrick
works.
Goal: run Redmine on a server that also runs PHP
2017 Jun 01
0
Gluster client mount fails in mid flight with signum 15
...fer size reduced. About to flush 1 extra log messages
/DAEMON/DEBUG [2017-05-31T15:54:25.286570+02:00] [] [] [logging.c:1769:gf_log_flush_extra_msgs] 0-logging-infra: Just flushed 1 extra log messages
/DAEMON/DEBUG [2017-05-31T15:54:25.287431+02:00] [] [] [glusterfsd-mgmt.c:2361:glusterfs_mgmt_pmap_signout] 0-fsd-mgmt: portmapper signout arguments not given
/DAEMON/INFO [2017-05-31T15:54:25.287785+02:00] [] [] [fuse-bridge.c:5720:fini] 0-fuse: Unmounting '/mnt/gluster/mule?.
Cheers
Gabbe
31 maj 2017 kl. 17:03 skrev Sunil Kumar Heggodu Gopala Acharya <sheggodu at redhat.com<mailto:sheggodu...
2017 Jun 01
2
Gluster client mount fails in mid flight with signum 15
...fer size reduced. About to flush 1 extra log messages
/DAEMON/DEBUG [2017-05-31T15:54:25.286570+02:00] [] [] [logging.c:1769:gf_log_flush_extra_msgs] 0-logging-infra: Just flushed 1 extra log messages
/DAEMON/DEBUG [2017-05-31T15:54:25.287431+02:00] [] [] [glusterfsd-mgmt.c:2361:glusterfs_mgmt_pmap_signout] 0-fsd-mgmt: portmapper signout arguments not given
/DAEMON/INFO [2017-05-31T15:54:25.287785+02:00] [] [] [fuse-bridge.c:5720:fini] 0-fuse: Unmounting '/mnt/gluster/mule?.
Cheers
Gabbe
31 maj 2017 kl. 17:03 skrev Sunil Kumar Heggodu Gopala Acharya <sheggodu at redhat.com<mailto:sheggodu...
2017 Jun 01
1
Gluster client mount fails in mid flight with signum 15
...educed. About to flush 1 extra log messages
> /DAEMON/DEBUG [2017-05-31T15:54:25.286570+02:00] [] [] [logging.c:1769:gf_log_flush_extra_msgs] 0-logging-infra: Just flushed 1 extra log messages
> /DAEMON/DEBUG [2017-05-31T15:54:25.287431+02:00] [] [] [glusterfsd-mgmt.c:2361:glusterfs_mgmt_pmap_signout] 0-fsd-mgmt: portmapper signout arguments not given
> /DAEMON/INFO [2017-05-31T15:54:25.287785+02:00] [] [] [fuse-bridge.c:5720:fini] 0-fuse: Unmounting '/mnt/gluster/mule?.
>
> Cheers
> Gabbe
> 31 maj 2017 kl. 17:03 skrev Sunil Kumar Heggodu Gopala Acharya <sheggodu at redha...