Displaying 5 results from an estimated 5 matches for "macn".
Did you mean:
mach
2008 Dec 06
9
jQuery Rails Functions
Hi,
I was wondering if anybody who used jQuery with rails could help me
out. I have a droppable that fires a simple function, shown below:
$("#list").droppable({
accept: ".item",
hoverClass: ''droppable-hover'',
drop: function(ev, ui) {
$(this).append("<br>Dropped!");
}
});
But how could I get this to fire a Rails funciton in the
2009 Jun 18
3
Date.new.to_time.to_i
What''s going on here!?
>> Date.new.to_time.to_i
NoMethodError: undefined method `to_i'' for Mon, 01 Jan -4712 00:00:00
-0800:DateTime
from (irb):25
>> Date.today.to_time.to_i
=> 1245308400
>> RUBY_VERSION
=> "1.8.7"
>> Rails.version
=> "2.1.1"
(I''m not sure if this is a rails thing, or just a ruby thing)
--
2009 Jun 08
4
how can i get attribute values from xml using libxml
Hi ,
i have xml document like this
<?xml version="1.0" encoding="ISO-8859-9"?>
<Root><Stk Category="601" Group="60101"
Brand="001">....................
then i have to use Category attribute but reader class couldnt
recognize attributes
when i use these codes below for testing;
while reader.read
puts reader.node_type
end
2009 Jul 28
6
how to set smpt server for our rails applicaion
hi i am using technoweenie-restful-authentication plug-in for
authentication in my application. i want to send a activation link to
the user''s mail-id.
for that i need to set the smpt server for our rails application, for
that i added the follwing code in config/environment.rb file
ActionMailer::Base.delivery_method:smpt
ActionMailer::Base.smpt_settings = {
:address =>
2009 Apr 21
11
can we decrypt the cipher encrypted using Digest::SHA1.hexdigest
what i have done is as follows
password = Digest::SHA1.hexdigest("#{salt}:#{password}")
pass1 = Digest::SHA1.hexdigest("#{salt}:asdfgh")
pass2 = Digest::SHA1.hexdigest("#{salt}:asdfgh")
pass3 = Digest::SHA1.hexdigest("#{salt}:qwerty")
puts pass1==pass2
puts pass1==pass3
This works fine
but i need to get the decrypted password
how can i get it
any help is