Displaying 20 results from an estimated 20000 matches similar to: "Login Generator gotcha.."
2006 Jul 04
1
LoginGenerator Problem
I am trying to make a barebones login system based on this example
(which in turn is just standard RoR login) but when I enter a user name
and password, it says the login is unsuccessful every time. I am not
sure where I am going wrong. Here is all relevent information
CREATE TABLE `users` (
`id` int(6) unsigned NOT NULL auto_increment,
`login` varchar(20) NOT NULL default
2008 Mar 31
0
Action Mailer Problem with salted hash login generator
Hi! Guys
I am using the salted hash login generator for login purpose. Now, I
am working in friendship. When I want to request someone for
friendship request via the action mailer I get following error:
=====================================
Due to changes in ActionMailer, you need to provide the mailer_name
along with the template name.
render "user_mailer/signup"
render :file
2006 Apr 14
6
Login Generator with Extensible authorisation
I want my web app to have a signup/login generator but have 2 tiers of
users - normal and premium. There seems to be lots of login generator
and engines with scattered tutorials about extensible authorisation and
Im lost as which is the ''best'' or most ''easy to use'' solution. Anyone
had success in this area?
--
Posted via http://www.ruby-forum.com/.
2006 May 06
5
login generator always give login unsuccessfull
hi guys,
i just did what it is written in this website to genrate login
http://wiki.rubyonrails.org/rails/pages/HowToQuicklyDoAuthenticationWithLoginGenerator
at the end i add to the database login and password
but when i tried to login it give me login unsuccessfull
can anyone help me
thanks
notice: i m beginner in webdeveloppement and especially ruby on rails
--
Posted via
2007 Mar 26
2
Strange Record not saved errors
I have a site with an acts_as_authenticated based login which has
started throwing up some strange errors. Until a few days ago
everything worked fine but all of a sudden ''RecordNotSaved'' errors are
popping up in my logs.
When I check the database, it looks like the record _is_ saved but I
think users get an error so I''m starting to see a lot of double/triple
entries
2007 Oct 13
4
Chapter 9
Hello,
I''m currently stunk on this issue for few days and I do not know how
to get it fixed.
The system always raises this error message :
order is closed
and here is my order.rb:
class Order < ActiveRecord::Base
include ActiveMerchant::Billing
before_validation :set_status
attr_protected :id, :customer_ip, :status, :error_message, :updated_at, :created_at
attr_accessor
2010 Sep 17
0
Merging data frames on a variety of columns
Hello,
This is a semi-complicated question about comparing two datasets,
probably using merge, but I am open to other ideas. I have a large
frame of information about companies.? It's over 30,000 rows and looks
something like...
df1 <-
identifier1???? identifier2 name other_name year
H34 C56 ACME ACME_LTD 2001
H34
2006 May 04
3
error in installing login generator
hi guys,
i tried to install login generator following these steps:
first i open the forlder where my application is saved than writing in
the commad prompt: gem install login_generator, then ruby
script/generate login
but it didn''t work i got this error
Recognition failed for "/account%20/login"
what should i do, or did i miss any step
thanks
--
Posted via
2006 Aug 17
2
validates_length_of with char field
I am new to ruby/rails and am having a problem with validates_length_of.
It seems to work fine on a varchar field, but when I try it on a char
field the extra characters are silently truncated and the message
appears that the record was successfully updated.
How can I get my app to produce my error message instead? I''ve tried
various variations, but here''s one of my tries:
2005 Oct 20
1
partial match gotcha
Hi
The following gotcha took me a long time to catch:
f <- function(x, main0="red", ...){
par(col.axis=main0)
plot(x,...)
}
f(1:10,main="title here")
f(1:10,main="title here",main0="blue")
I can't quite succinctly summarize why the second case works but the
first one
doesn't.
--
Robin Hankin
Uncertainty Analyst
National
2006 Nov 04
0
migrations gotcha
Just wanted to share this gotcha:
1. Create model A and initialize some record from
within the very migration.
2. Create model B (perhaps 27 migrations later,
two weeks later).
3. An observer of A uses B.
Now you can''t do a fresh install (or go down to VERSION corresponding
to 1. and then up).
-- fxn
1999 Dec 15
0
scp gotcha on NFS
I ran into a nasty gotcha today with scp from openssh-1.2pre17.
If you use scp to copy a file between machines when the local and
remote file args correspond to the same physical file (e.g., exported
by a NFS mount) the file is trashed. E.g., if your home directories on
"homer" and "bart" share the same NFS-mounted volume and you do
homer$ scp foo bart:foo
file
2002 Mar 15
0
User ID gotcha with winbindd when adding local Unix accounts
Just noticed a somewhat subtle gotcha when adding users to a Red Hat Linux
system running winbindd.
If you use 'adduser', it will see your winbindd uid range and think all the
UIDs up to that point are in use. It'll then pick the next available one and
use that for the new user ID. Winbindd, unaware of this, will go ahead and
pick that UID for the next user you add to the NT domain!
2012 Aug 14
3
validates_format_of :message not working, validates_length_of :message is working
I''m using validates_format_of and the validation I want to do works, but I
can''t get an error message to be displayed if the data is invalid:
validates_format_of :mobile, :with => /\A[\+0-9]+\Z/, :message => " - Wrong"
I have another validation some where else that does display the error
message: " - Name is too long"
validates_length_of :name,
2005 May 29
0
validates_length_of && validates_presence_of: Duplicate error messages?
validates_presence_of :login , :on => :create, :message => "Please
enter a login."
validates_length_of :login, :within => 3..40, :message => "Login must
be a minimum of 3 characters."
Right now if the login field is left blank, both these errors get
thrown. I assume that setting a conditional for the first one if the
second one is thrown, something like
2007 Aug 12
1
1.0.6 gotcha
Hi All - I released 1.0.6 this morning, but there is apparently a bug
related to rspec and autotest. I''ll be fixing this today (but not
until tonight) so you have two options:
Wait until 1.0.7 (tonight)
Upgrade now to 1.0.6 but make sure you install the rspec gem.
Thanks,
David
2006 May 16
0
Image format gotcha
I''ve been doing a lot of testing witn RMagick lately, in view of reports
that it leaks memory. I''m happy to report that RMagick doesn''t seem to
leak at all, when used as directed -- that is, when you remember to set
the image variable to nil and call GC.start manually after you''re done
with an image.
BUT -- one ImageMagick format seems to be leaky! I was
2008 Jan 30
0
Publish templatized action with JSON gotcha in Rails 1.2
Hey guys-
to_json in Rails 1.2 produces json with unquoted keys, which is
invalid. Therefore, publish_templatized_action produces invalid json
for feed publishing, and you''ll get an error from Facebook. To fix
this, put this line in environment.rb:
ActiveSupport::JSON.unquote_hash_key_identifiers = false
You don''t need to do this if you''re running Rails 2.0. Just a
2007 Aug 04
1
ActiveRecord gotcha with references?
I have this situation:
class Employee < ActiveRecord::Base
belongs_to :designation
end
class Designation < ActiveRecord::Base
end
I do the following at the irb console:
Step 1: Find an employee
>> emp = Employee.find 3
=> #<Employee:0x35a7d34 @attributes={"designation_id"=>"3", "id"=>"3",
2005 Oct 21
0
a gotcha with cron and 4.2
the new cron in 4.2 activates the pam access module. if you have been
using that to control ssh access or other things, now suddently cron is
going to use it as well. this only seems to affect user crontabs and
crontabs in /etc/cron.d. from some digging around i was able to determine
that cron sets the tty to 'cron', so you can just add a line like:
+:ALL:cron
to