Displaying 20 results from an estimated 6000 matches similar to: "Devise + RubyCAS Client"
2012 Jun 08
2
rubycas-server login fail
Hi all,
I''ve installed Puppet Enterprise 2.5 on Ubuntu 10.04.4 ("minimal" version
on our new hosting provider, previous on amazon ec2 all works fine). So
couldn''t login to puppet dashboard - internal server error. I found problem
in rubycas-server. It fails when try to hash password:
(/opt/puppet/share/rubycas-server/lib/casserver/authenticators/sql_encrypted.rb)
2008 Feb 19
0
Rubycas-server installation
Hi,
I''m not sure if i''m here in the right place but i have some questions
about installing the rubycas-server. I have found some good
documentation on how to install ''ruby'' and ''ruby on rails'' and that
works fine :). So i moved on to the rubycas-server part. I tried to
follow the instructions on this site:
2013 Jan 29
7
stuck installing puppet in RHEL 5
Hi All,
Im trying to install but with no luck. Any idea what I did wrong ?
** mkdir -p /var/log/pe-console-auth
** touch /var/log/pe-console-auth/cas.log
** touch /var/log/pe-console-auth/auth.log
** chmod 770 /var/log/pe-console-auth
** chmod 660 /var/log/pe-console-auth/auth.log
** touch /var/log/pe-console-auth/cas_client.log
** chmod 660 /var/log/pe-console-auth/cas_client.log
** chown -R
2011 Feb 06
2
Controller Testing + Devise = boom (undefined @controller, request)
Here I am, trying to learn TDD and BDD. Getting start, most simple
case, and the world is falling apart:
My test code:
it "should respond with success" do
puts ''hi''
# get :new
# response.should be_success
end
My stack trace:
$ rspec spec
"controller: nil"
F
Failures:
1) VideosController new exposes request and response before and
2011 Nov 02
1
getting devise to return json data when signing out
Hi all,
In curl (the command line program), I can successfully log a user in
using devise:
def create
respond_to do |format|
format.json {
if user_signed_in?
return render :json => {:success => true, :errors =>
["Already logged in."]}
end
resource = warden.authenticate!(:scope =>
resource_name, :recall =>
2012 Feb 24
3
Devise generates Mailer by its own?
Rails 3.1.3
Hi. I''m a little confused with Devise and ActionMailer.
It seems that Devise has its own way of sending mails through
ActionMailer.
Does it generate Mailer class when "rails g devise..." command is
executed?
Or do I need to do some special command in order to generate Mailer?
I have certainly set up a devise User table but there is no Mailer class
for it,
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
2010 Nov 03
3
|Newbie] Change default locale I18n file devise.
Hello!
This is probably something easy. I''ve looked at some documentation but
I didn''t find any good resources on how to change to default locale
file with Devise authentication plugin. Should I do it in my
application controller or should I change something in Devise? And how
should I do it.
Thanks
// Anders
--
You received this message because you are subscribed to the
2011 Aug 10
3
STI Devise, remove sign up for admin
Hi,
If I''m using STI with Devise, I have a Admin model inheriting the base
Devise User model. I would like to remove ''registerable'' from the
Admin model but it inherits registerable from the user model. How
would i disable registration for admins?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2010 Oct 31
4
Newbie - Rails 3 authentication question (Devise)
Hello!
I''m working on my first Rails app and I have a question regarding
authentication. I already have authentication for signing up, logging
in, logging out, etc. What I need is an account email activation
function and a reset password (forgot password) function. I have read
a little bit about Devise and watched the Railscast episodes on it, it
seems nice, but is it possible to add
2011 Jul 14
3
Have Admin add users, not the Devise Sign Up form
I have Devise working. I have roles for users working. I even added
custom fields to the User model and it seems that now everything is
working fine. So people can now subscribe using the Sign Up form
provided by Devise.
But now I need Admins, to add users. Of course, I can''t use the Sign Up
form for that. If I just use a regular User model, their passwords are
blank. Or maybe the form
2011 Aug 25
1
Devise + Forem: undefined method weeks on Fixnum
I''m getting the following message when trying to start Webrick or
console.
... devise-1.0.11/lib/devise.rb:89:in ''<module:Devise>'': undefined
method ''weeks'' for 2:Fixnum (NoMethodError)
After trying to upgrade my app to Rails 3.1 (edge) so that I may use the
Forem engine.
I''m under the impression this error is occurring because
2013 Jul 09
2
can i use single devise for multiple models.
Hi,
i need to use authentication for the 4 models,is it possible to use
single devise for all models,if yes plz let me know them clearly.
if not what is the solution.
Thankyou
--
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 unsubscribe from this group and stop receiving emails
2010 Nov 24
1
NameError in Devise/sessionsController#new
I created a sample application.
Added devise in it, it works fine.
Then added cancan gem into it.
Created an ability class. define some permissions.
Then added line
load_and_authorize_resource
to the Application Controller, after that when i go to the page
http://0.0.0.0:3000/users/sign_in it gave the following error,
NameError in Devise/sessionsController#new
uninitialized constant Session
2012 Sep 25
1
Devise Gem
Hi all
i am learning how to implement devise gem but i just want to know do
i need to write the login code first and then runt this command " rails
generate devise:install " or run the command first and then go for login
code. can any one tell me what to do.
Cheers
Kp
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2013 Oct 02
2
When overriding the registration controller from devise, is it possible to access the newly created
I''m trying to create a folder right after a user registers, so I override
the create action on the registration controller (devise) but I don''t know
how to access the newly created user in order to create the folder with
it''s name to upload files later.
So far I''ve got this:
class RegistrationsController < Devise::RegistrationsController
def new
2012 Dec 16
2
How to get access to /admin panel without Devise?
I have question:
How to get access to /admin panel without Devise?
And how to create admin user?
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2013 Jul 03
1
Devise auth based on ssl keys
Hi, guys.
I already have a rails 3.1.2 and ruby 1.9.3 vast app with an auth based
on devise. Now I want to add to the my app a ssl key based auth. As
web-server it uses thin and nginx as proxy. I have made only ssl on the
nginx at 443 and only for some app pathes (e.g. /articles, /search etc).
How I can tell to the my app and devise use the ssl keys and assign them
to the app users (link
2010 Aug 16
2
Devise Nested Resources
I''m working on a new Rails (v3.0.0.rc) application using the Devise
(v1.1.1) gem. In my application I have setup a User model which
includes the person''s e-mail address and name. I have also setup the
following models that I''d like to attach to the User:
- Address (street, city, state, zip code)
- Interest (name)
- Donation (date of donation, amount)
My question is
2013 Jul 04
3
Rspec devise, testing extended RegistrationController action destroy
Hi everyone,
I have devise 1.5.4 working with rails 3.0.20 and ruby 1.8.7 .
I have extended the destroy action from the RegistrationController, to soft
delete users instead of really deleting them from the database.
def destroy
# raise resouce.inspect # this is just to see if the test hits the
action
resource.soft_delete
set_flash_message :notice, :destroyed
sign_out resource