Displaying 3 results from an estimated 3 matches for "coder2000".
Did you mean:
code1000
2010 May 10
6
de-crypting Ruby password with php.
Hello all, I have a client with an older Rails 1.8 app (was recently
upgraded from 1.6) and I need to integrate a php site to use the same
user login creds.
I''m not very versed with Ruby but I think this is the code that
encrypts the password.
[code]
# Encrypts some data with the salt.
def self.encrypt(password, salt)
Digest::SHA1.hexdigest("--#{salt}--#{password}--")
2008 Sep 29
0
ActionView::CaptureHelper#capture error
I am using edge rails and a plugin that uses capture and I am getting
an error that block_called_from_erb? doesn''t exist. Where should it
be declared and what should it contain?
Dieter
--~--~---------~--~----~------------~-------~--~----~
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
2011 Jun 17
0
.js.erb not being parsed by .erb first
I am trying to dynamically include a javascript file based on a
configuration option however I keep getting this error:
Error compiling asset application.js:
ArgumentError: wrong number of arguments (3 for 1)
(in c:/Users/Dieter/Documents/event_calendar/vendor/assets/javascripts/event_calendar.js.erb:1)
when trying to run this code:
//<% require ''event_calendar'' %>
//=