Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Intermittent InvalidSalt exception
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Khash Sajadi  
View profile  
 More options Feb 9, 3:17 pm
From: Khash Sajadi <khash.saj...@gmail.com>
Date: Thu, 9 Feb 2012 12:17:52 -0800 (PST)
Local: Thurs, Feb 9 2012 3:17 pm
Subject: Intermittent InvalidSalt exception

Since upgrading to Ruby 1.9.2 (Rails 3.0.3), our RSpce (2.7.0) tests using
FactoryGirl (2.3.2) fail due to BCrypt::Errors::InvalidSalt upon creating
of user fixture. Here is what we use for creating fixtures:

Factory.define :user, :class => User do |u|
  u.email '...@other.com'
  u.api_key '123456'
  u.password 'password'
end

It used to work fine, but now tests that have the line user =
Factory.create(:user) fail randomly with different tests failing in each
run.

Any ideas?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Khash Sajadi  
View profile  
 More options Feb 28, 8:16 am
From: Khash Sajadi <khash.saj...@gmail.com>
Date: Tue, 28 Feb 2012 05:16:10 -0800 (PST)
Local: Tues, Feb 28 2012 8:16 am
Subject: Re: Intermittent InvalidSalt exception

This was only happening on my Mac box, not the Linux production servers. It
seems to be fixed by uninstalling bcrypt-ruby gem (it was 3.0.1) and
installing it again (same version). I am still not sure why but the issue
is fixed.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »