Displaying 4 results from an estimated 4 matches for "zuv13ryhhzkavxtiumwx3w".
2010 Nov 28
2
Dynamic find_by method returning nil in a class method
...r
return nil if user.nil?
return user if user.has_password?(submitted_password)
end
end
as you can see I left out some code but the problem I am having is
where you can see that I have a "puts user". when running this method
from the Console like so
User.authenticate("my-zuv13RyHHZkAvxtiuMwx3w@public.gmane.org", "foobar") the local user object in
the authenticate method returns nil from the puts
now in the console if I do this
User.find_by_email("my-zuv13RyHHZkAvxtiuMwx3w@public.gmane.org") the consol returns me a valid user
object from the database
what am I...
2010 Feb 26
2
Routing Error using Paperclip
...operation fine. However when I added Paperclip support I
get the following error?
Routing Error
user_url failed to generate from {:action=>"show", :controller=>"users",
:id=>#<User id: nil, name: "Rajinder", surname: "Yadav", email:
"test-zuv13RyHHZkAvxtiuMwx3w@public.gmane.org", password: "hello", membership_level: 0, location: nil,
timezone: nil, bday: nil, last_visit: nil, visits: nil, created_at: nil,
updated_at: nil, photo_file_name: "devmentor.jpg", photo_content_type:
"image/jpeg", photo_file_size: 34846>},...
2012 Feb 14
6
SMTP problem.
Hey all, well I am trying to send emails to newly created users but I
have a problem.
In the rails log it states that the email has been sent but the email is
never actually received so obviously there is a problem.
I have noticed one in particular and I don''t understand how to fix it.
Once I create the user I get the following error message:
Net::SMTPAuthenticationError (535-5.7.1
2013 Aug 21
3
syntax error, unexpected tRPAREN raised in server log
In my server log, I am seeing this error message that is raised in
activesupport.
2013-08-12T23:06:08.932580+00:00 app[web.2]: SyntaxError
(/app/vendor/bundle/jruby/1.9/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:374:
syntax error, unexpected tRPAREN
2013-08-12T23:06:08.932580+00:00 app[web.2]:
2013-08-12T23:06:08.932580+00:00 app[web.2]: def () value = nil