Displaying 2 results from an estimated 2 matches for "5t41n5".
2012 May 12
12
before_save messing up
#user.rb ------> Model
class User < ActiveRecord::Base
attr_accessible :email, :name, :password, :password_confirmation
has_secure_password
before_save :create_remember_token
.
.
.
.
.
.
.
private
def create_remember_token
self.remember_token = SecureRandom.urlsafe_base64
end
end
#sessions_controller.rb ------->
2012 May 03
2
Can't push to Heroku
I wanna push my application straight from Github to Heroku. Everything
goes through until it hits the installation of the gems. It can''t
install the SQLite3 (local DB).
I know Heroku doesn''t use SQLite but I didn''t expect this problem.
The error messages recommended installing a version of SQLite3
(v1.3.6) which I did
but it keeps on complaining :(. Any workaround?