Displaying 20 results from an estimated 3000 matches similar to: "Scoped_views in rails2.3.5 with restful_authentication"
2010 Jul 27
1
upgrading from rails2.3.5 to rails2.3.8
Hi
Please guide me to upgrade my rails application which is 2.3.5 version
to 2.3.8 step by step.
Thanks for your help
Tom
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To
2010 Feb 25
0
How to use connection pool in Rails2.3.5 with WEBrick and MySQL?
We use Rails 2.3.5, MySQL, and WEBrick.
ActiveRecord call ConnectionPool#checkout and create new connection to
MySQL when receive a first HTTP request.
At this time, register to connection pool its connection in
ConnectionPool#checkout_new_connection.
# http://github.com/rails/rails/blob/v2.3.5/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#L181
#
2008 Jan 17
0
It seems to be a restful_authentication bug (was Re: Re: named route new_session not working)
On 1/16/08, Jimmy Palmer <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:
>
> sorry for the ambiguity. I will work on being more descriptive. :)
>
> In the method access_denied in the file authenticated_system.rb from
> restful athentication, it generates this:
>
> def access_denied
> respond_to do |format|
> format.html do
>
2008 Dec 11
2
restful_authentication errors
When I run
[code] script/generate authenticated user --include-activation [/
code]
it seems to work at first, but then it reports:
" The name ''SessionsHelper'' is either already used in your application
or reserved by Ruby on Rails. Please choose an alternative and run
this generator again "
I''ve heard that having both acts_as_authenticated and
2008 Mar 14
1
how do I get a older version of restful_authentication
I''m currently running rails 1.2.6 and I''ve got the new
restful_authentication running, unfortunately, the new version of the
plugin does not support the older rails very well.
how can I get an older version of restful_authentication (pre rails
2.0.2)?
I''m getting this error:
undefined method `authenticate_with_http_basic'' when I put
"include
2007 Dec 30
1
restful_authentication plugin + session timeout + single login session?
Hi,
I am using restful authentication plugin
1) I was wondering if there is a way to do a session timeout using the
restful_authentication.
How do I hack it to get the behaviour I need?
2) On top of that, I may need to ensure that a particular user can
only login from a single PC. If the user is already logged in at a PC
and attempts to login from another PC, the session in which he signs
in
2007 Aug 04
2
Modifying the restful_authentication plugin / Classes creating instances of themselves.
Hi,
I''m trying to modify the restful_authentication plugin so that it
first authenticates against LDAP (Active Directory), if successful, it
tries to find a matching user with the same username in the database,
through a model ''user''. If it finds a user, it updates a last_login
attribute; if it doesn''t find one, it creates one. The "remember me"
2007 Nov 12
1
help debugging ActionMailer with restful_authentication?
In a nutshell, I''m using restful_authentication that emails the user
when they sign up for an account
The development.log file shows the body of the e-mail message being
prepped to send out, but doesn''t show confirmation that it made it.
When I use gmail''s SMTP server, a Rails exception is thrown because
gmail expects an encrypted connection. A different type of Rails
2006 Aug 30
0
Anyone using "restful_authentication"
I had installed acts_as_authenticated and once that was working good
and felt I understood it I went ahead and tried
restful_authentication. Page says it''s based on AAA. I see some of
the functionality is not included though such as the activation code.
Can I just write it in myself ?
TIA Stuart
--~--~---------~--~----~------------~-------~--~----~
You received this message because
2008 Sep 12
1
restful_authentication rspec failures "Mysql::Error: Incorrect datetime value:"
I am getting 193 failures that all have "Mysql::Error: Incorrect
datetime value:"
how do i fix this??? i am new to rspec and restful_auth, so if i am
doing something wrong, let me know!!!
windows xp
rails 2.1.1
rails testproject
cd testproject
# create my databases and edit database.yml
git init
git submodule add git://github.com/dchelimsky/rspec.git vendor/plugins/
rspec
git
2007 Dec 16
2
restful_authentication: update of users' attributes on every page load upon 'Remember me' being enabled?
Hello there,
I just noticed a kinda weird thing: if users log in with the ''Remember
Me'' option enabled, their records in the db get updated everytime the
user reloads a page, because apparently restful_authentication''s code
updates the remember_token_expires_at & remember_token attributes for
each page load (not only once on the actual login (from cookie).
2007 Aug 21
2
using restful_authentication current_user inside controller specs
I''m using restful_authentication in my app and I have the before filters in
my application rhtml:
before_filter :login_required
around_filter :set_timezone
around_filter :catch_errors
Currently I have them commented out while rspec''in but I''ll need to add them
in my specs.
def create
@ticket = Ticket.new(params[:ticket])
@ticket.user = current_user
if
2002 Sep 11
1
lme with/without varPower - can I use AIC?
I want to compare the following two models in AIC
(Treat, Spotter are categorial, p is pressure, Pain is
continuous)
PainW.lme<-lme(Pain~p+Treat*Spotter,data=saw,random=~p|Pat,
weights=varPower(form=~Pain))
# AIC= -448
Pain.lme<-lme(Pain~p+Treat*Spotter,data=saw,random=~p|Pat)
#AIC = -19.7
Note the huge differences in AIC, and the estimated power of 6.
A plot of the residual
2008 Sep 18
1
user_observer (restful_authentication) causes failure in loading rails
I have restful_authentication in use on an app and it has been working
fine, but I recently was changing the account creation flow and needed
to enable the UserObserver. I did so by including it in the
environment.rb (config.active_record.observers = :user_observer) and
Rails wouldn''t start.
I got the following error;
source/communitysites/vendor/rails/activerecord/lib/active_record/
2008 Aug 25
1
Error message when installing restful_authentication from github
Anybody know if I''m doing something stupidly wrong here?
$ script/plugin install git://github.com/technoweenie/restful-authentication.git
removing: /Users/jcohen/dev/rest_with_rails/theater_login/vendor/
plugins/restful-authentication/.git
Initialized empty Git repository in /Users/jcohen/dev/rest_with_rails/
theater_login/vendor/plugins/restful-authentication/.git/
remote: Counting
2008 Sep 08
2
Restful Authentication and State Machine state transfer question
I''m adding some code to a project using restful_authentication and
acts_as_statemachine
In the create method for a user there is the following code generated
by the restful_authentication template
@user.regster! if user.valid?
And this will save and the user record if it is valid. I understand
that the statemachine will then change the state from passive to
pending. It will guard
2010 Dec 27
4
Crazy routes
Hello!
I''m using restful_authentication and I would like to have diferent views
for logged users and not logged users. Logged users can edit and create
items, and not logged user could only list items and show its features.
In my routes file I have:
map.namespace :admin do |admin|
map.resources :items, :controller => "admin/items", :path_prefix =>
2002 Aug 01
0
W2k no longer has Trust to samba pdc
SMB.conf, smbpasswd, log files attached to this message.
I have several W2k Workstations, with a SAMBA 2.2.3 PDC.
Looking at the logs it seems that stevedallas (W2K client) is getting
validation errors as "visitor"
(which DOES exist...)
I am not sure what happened, but I must have removed all of the important
parts of the
server validation.
OUTLAND is domain, W2k/ clients are
2000 May 17
4
Openssh-2.1.0p1 test release
This to announce a test release of 2.1.0p1 before making it widely
available.
This release includes many fixes to problems reported over the last
week. In particular:
- spurious error and coredumps caused by the inbuilt entropy gathering
- RSAref detection
- Compilation fixes for Solaris and others
It also contains (completely untested) support for compiling without
RSA support. This may be
2001 Oct 18
3
group ownership
I am attempting to rsync data from a rsync server and set the
permissions to a different gid on the client:
my servers name is "rserver01"
my clients name is "rclient01"
here is the rysync.conf contained on rserver01:
# log file
log file = /var/adm/rsync_log
# global options for all modules
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz
uid = nobody