Displaying 20 results from an estimated 200000 matches similar to: "digest"
2008 May 14
2
MissingSourceFile: no such file to load -- digest/shal
I attempted to bring up digest/shal in the console but it seems to not
be in there. After - gem update I still do not have this file.
--
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
2008 Jan 15
0
HTTP Digest Authentication
I just started using authenticate_or_request_with_http_basic.
Is anyone working on the digest version of that?
(I realize it may get a little complicated with the handshaking)
If not, I wouldn''t mind contributing it. (I''ve implemented it in the
past for other servers)
-brian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2009 Dec 13
20
Need help...NameError in InteractController#add_to_cart
Hi,I am developing a web app and am following the text-Agile web development.....Each time I click my "add to cart" button" i always get the page below:I have double checked to see if i have errors in my code,there was none,please what do i need to do to proceed?
NameError in InteractController#add_to_cartundefined local variable or method `find_cart'' for
2008 Oct 16
4
InstantRails and SQLite
Hy,
I''m using InstantRails for my RoR developments and it is really great.
However I have a little problem since a few days. Here is the
situation, I''m using InstantRails 2.0 with PHP 5.2.6 (I upgraded
following the InstantRails procedure). I''m using MySQL as a database
for my application but recently downloaded a forum (FluxBB) which need
SQLite to work. My problem is
2011 Mar 31
2
multiple vhosts running off of one passenger/rails app
Hi,
I''ve been googling quite a bit - but up until now to no use :(
My problem is how to configure Apache conf (and perhaps Passenger) for
this setup to work:
<VirtualHost *:80>
ServerName oxen.company_A.com
DocumentRoot /var/www/html/oxen/sites/company_A/public
PassengerAppRoot /var/www/html/oxen
SetEnv OXID 23
</VirtualHost>
<VirtualHost *:80>
2009 Apr 09
0
HTTP Digest Authentication not working
Hi to all,
I''ve created a new project with Rails 2.3.2 and literally copied the
HTTP Digest Authententication example from the documentation into a
SecretsController:
class SecretsController < ApplicationController
Users = {"dhh" => "secret"}
before_filter :authenticate
def secret
render :text => "Password Required!"
end
private
2009 Feb 27
1
rake bombs on openssl (on Ubuntu)
RoR-ers,
I''ve bumped into an issue with ruby and ssl.
I''m trying to run a rake command which aborts because it cannot find
openssl.rb.
I followed these steps:
- mkdir /rho; chown phor /rho
- wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.bz2
- tar jxf ruby-1.8.7-p72.tar.bz2
- cd ruby-1.8.7-p72
- vi ext/Setup and uncomment these lines:
bigdecimal
curses
2006 Dec 17
1
MySQL syntax for self.authenticate
How can I add a password in MySQL directly and match the one Rails
create? I understand that it uses SHA1 and then HEX, right (require
''digest/sha1''). But when I try that in MySQL the resulted string isn''t
the same.
This is what I do in MySQL:
SELECT SHA1(''password+salt'')
The result is process with SELECT HEX(''result'')
Btw, should
2007 May 24
0
Newbie having trouble with RubyGems
I am in the process of installing Ruby on Rails on AIX 5L 5.2. I was
unable to compile Ruby but successfully found a set of binaries for
AIX 5.1 which I deployed and tested. The Ruby tutorial I walked
through using these binaries worked flawlessly.
So I tired to install Gems using the ruby setup.rb command and I get
the following error:
<snippet>
<--- lib/rubygems/
digest
<--- lib/
2007 Feb 16
0
displaying images from this controllers code
Hi,
Im pretty new to rails so please excuse me if this is a trivial question
to most of you :)
Im making use of the following code that I came accross which allows me
to go and feed amazons alexa service a url and it returns a thumbnaill.
class AmazonController < ApplicationController
layout ''default''
def index
require ''cgi''
require
2008 Jun 06
1
Need help with Decryption using blowfish CBC
Hello all,
Hoping someone can help me out here. I''ve burned almost a week trying
to figure out how to decrypt
an image file that has been encrypted using Blowfish CBC.
I found some code on the net and have modified as follows:
require ''openssl''
require ''digest/sha1''
ivArr = [0x0D,
0x0E,
0x0A,
0x0D,
0x0F,
0x0A,
0x0C,
0x0E
]
2008 Nov 07
1
Problem autenticating user
hi every body....
I need help..
I have the following code in a user model. But when i try to autenticate an
user always returns nil, my session controller calls the autenticate method.
I proves comparing only the database password with new encrypted password
but always returns nil. The database password was encryted with the same
encrypt method. I dont know what i need to do.
TNKS a lot..
#
2011 Oct 25
0
Sprocket Digest + Debug combination broken?
Hi all,
we''re just in the process of upgrading to the new asset pipeline, but I''m
having an annoying issue with Sprockets.
It turns out that I can''t enable both *debug* and *digest* in development
mode. When I do, I get a Errno::ENAMETOOLONG because the digest becomes the
*entire* *content* of the file instead of a hex. I get this with both sass
and javascript.
2008 Aug 01
0
Help with Access Control
Hi,
I am following the excellent tutorial http://www.railsforum.com/viewtopic.php?id=14216
(post 5) on how to implement an access control feature i.e. only a
friend is allowed to view a profile of a particular member. I am not
using the restful authentication plugin as the author is using to
implement the authentication feature (post 1) in the tutorial. All I
am interested in is the post 5
2009 Sep 22
3
RE: We're sorry something went wrong when I use -d mysql
Hi:
I am trying to make an application using mysql. When I do rails name --
d mysql, and then run mongrel. I will go to localhost:3000 and when i
check my application environment, I get an error We''re sorry something
went wrong.
Now, when I do the same procedure without using --d mysql and just use
the defalt sqllite. When I check my application environment it shows
the information.
2008 Dec 20
3
rake aborted (wrong number of arguments)
I''m following a tutorial here to get some columns in my database. I
generated a model called ''product'' then I edited
''db/001_create_products.rb'' to have a few columns but when I try to
migrate I get this error:
bio4054059:depot rmorourk$ rake db:migrate
(in /Users/rmorourk/Sites/depot)
== CreateProducts: migrating
2007 Dec 31
1
Agile Web Dev w/Rails - Password Change
Happy New Year everyone.
Just wondering if anyone has coded the ability to allow a user to change
their password following the way the book (second edition) implements
administration.
Seems like I should be able to cut out the
password/password_confirmation portion of ''add_user'' form to create a
''change_pass'' form. The problem is I''m not sure how to go
2008 Jan 16
4
ActionController::InvalidAuthenticityToken in LoginController
Hi,
I''m having a problem trying to get a login controller working. When I
try and post to my login controller I get the following error:
ActionController::InvalidAuthenticityToken in LoginController#login
login_controller:
class LoginController < ApplicationController
def login
case request.method
when :post
if @session[''user''] =
2012 Nov 30
3
Rails Course Booking System
Hi all,
i have just finished reading Beginning Rails 3 and have done as many
tutorials on the web I can find.
So I have decided for my first real project I would like to create a
system where an admin can created courses controlled from some sort of
back-end.
Users could then register an account book and pay for course utilizing
maybe some sort of calender system.
Am I starting out too big for
2010 Jan 08
6
How to change a rails app to INstant rails app???
i have a rails app , i need to change that app to instant rails app.
i have been using Net beans as IDE
is der an easy step to do that???
rather creating a new one by copy paste?
--
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