similar to: crypto-key.rb

Displaying 20 results from an estimated 300 matches similar to: "crypto-key.rb"

2006 Jun 06
6
Payment Gem Error
I am learning how to use the payment gem to process credit cards. I think I have everything up and running correctly but I get this error: undefined method `use_ssl='' for #<Net::HTTP secure.authorize.net:443 open=false> Would anyone have an idea what would cause that? Thanks, will clark // graphic design www.willclarkdesigns.com/ will@willclarkdesigns.com 559 | 584
2006 Jun 10
3
Agile Web Development p.89
I''ve been following along just fine with the depot app, up until I make the catalog, where, when the price is displayed with formatting, the price shows up underneath the <div> bar for the next item in the catalog. If, in index.rhtml, I change the <span class="price"> to just <span>, or equivalently, remove the entire <span...> tag, it works just
2006 Jun 05
2
Rails & SSL
I am somewhat new to rails and I need to know how to configure Rails to handle the https protocol properly. Could somebody point me in the right direction? Thanks Will Clark
2006 Jun 07
2
display two columns using fixed width divs
Hi. I want to display some related information in two columns. Originally I wanted to use frames and googling led me to http://lists.rubyonrails.org/pipermail/rails/2006-May/037972.html which suggest divs instead. I modified my code to this: <body> <div style=''width: 300px; overflow: scroll''> <%= render :partial => "col1" %> </div>
2005 Dec 17
2
Encrypting files
Anyone know of a good (fast) way to encrypt/decrypt uploaded files in RoR? I''ve seen this project: http://ezcrypto.rubyforge.org/ but it only seems to encrypt strings and such. I need to encrypt files once they are uploaded, then decrypt them when they request the file back. Any ideas? Thanks, Mark -- Posted via http://www.ruby-forum.com/.
2006 Apr 23
1
ezcrypto HELP!!!!
I''m using the ezcrypto library for aes encryption, but i''m running into some weird cases that i cant seem to figure out. What i''m doing is trying to encrypt someting in php using standard AES 128. I''m taking the output from php and trying to decrypt it with ruby using ezcrypto. This seems to work for a lot of cases, but it does not work for some others. Any
2006 May 12
2
Agile WebDev 2nd Edition: PDF free for 1st edition owners?
Hi all I''m just wondering if I get the 2nd version of "Agile Web Development with Ruby on Rails" for free if I already own the 1st edition paperback/PDF combo? And anyway: I wanted to update my first edition, but I can''t find the link anymore where I could get a new PDF version? Thanks a lot for help. Josh -- Posted via http://www.ruby-forum.com/.
2011 Mar 07
1
blowfish encrypted url in ruby
How to encrypt and decrypt the url using blowfish in ruby? ex: url= http://localhost:3000?username=vam&paswd=1234&street=hyd&contact=999999999&company=raymarine&city=hyd&state=UP&country=ZP&zip_code=543211 please help its very urgent. Thanks in advance - Vam -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to
2007 May 30
3
how to create a simple DHTML dialog
I am looking to create a simple dialog window like this on a page: http://developer.yahoo.com/yui/examples/container/simpledialog/2.html I know scriptaculous comes with Rails, not YUI, but I can''t find anything similar there. Is there any shortcut to doing this with existing plugins or core stuff?, or must I download another toolkit? thanks Sam
2009 Apr 24
4
Long string in crypting
I use a solution to crypt a string that I found using OpenSSL. But the crypted string becomes very long, too long for a varchar 255 to hold it. What can I do to make it shorter? Or should I just use text as column in the mysql db? public_key_file = ''lib/public.pem'' public_key = OpenSSL::PKey::RSA.new(File.read(public_key_file)) @encrypted_string =
2006 Feb 19
2
Asynchronous Encryption?
Hi Railers, I''m looking for something to do asynchronous encryption - where the encryption and decryption keys are different. This is for a scenario where I want to be able to store some information in the database that can only be decrypted in a different physical location using a secret private key (which will not be stored on the machine doing the encrypting). I''m trying
2006 Jan 11
4
Member.buddies.sort >> undefined method `<=>''
Hi all I have a model Member that has a habtm relationship to buddies (also members). Now I wanted to sort them using sort, but this ends in an error "undefined method <=>"! Where''s the problem here? Sorry, I''m still beginning to learn Ruby. ;-) Thanks Josh -- Posted via http://www.ruby-forum.com/.
2011 Nov 22
7
rake aborted with ruby on rails
when i run * rake db:create* * * WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require ''rdoc/task'' (in RDoc 2.4.2+)'' instead. at /home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/rake-0.9.2.2/lib/rake/rdoctask.rb DEPRECATION WARNING: Rake tasks in
2011 Mar 07
2
obfuscating sensitive data
In our app, users give us sensitive information (credentials for logging into a third party site). At some point, we need those credentials in cleartext in order to access the third party site, but while they''re in our database, we want to make best effort for protecting them. What techniques have people used for this? I find myself asking "WWMD (What Would Mint.com Do?) -- any
2011 Nov 02
3
form_for text_field
I have a form ... html ..... <% form_for @person do |f| %> ... html ..... <%= f.text_field :last_name %> ... html ..... <% end %> When last_name field of @person doesn''t contains french special symbols like ''é'', all characters are displayed in the input control (f.text_field :last_name ). Else only symbols before french special symbol are
2009 Jan 15
14
Using ZFS for replication
Fairly new to ZFS. I am looking to replicate data between two thumper boxes. Found quite a few articles about using zfs incremental snapshot send/receive. Just a cheeky question to see if anyone has anything working in a live environment and are happy to share the scripts, save me reinventing the wheel. thanks in advance. -- This message posted from opensolaris.org
2009 May 06
4
Encrypting large amounts of text
Hi, I have an application where I want to be able to encrypt large amounts of text before storing them to my DB (MySQL Text field - might be switched to a Blob). I have an idea of how to do this, but was wondering what the general consensus is within the community regarding the issue. I have come across a couple different plug ins/gems (Stringbox, EzCrypto), but am wondering what other people
2017 Apr 08
1
IMAPSieve Changed flags cause?
Op 4/8/2017 om 10:08 AM schreef MRob: > On 2017-04-08 01:03, Stephan Bosch wrote: >> Op 4/7/2017 om 7:29 PM schreef MRob: >>> On 2017-04-05 18:50, MRob wrote: >>>> RFC 6785 says I should be able to run scripts when a command changes >>>> flags on a message but I can't understand what to put in >>>> imapsieve_mailboxXXX_causes. Dovecot logs
2017 Apr 08
2
IMAPSieve Changed flags cause?
Op 4/7/2017 om 7:29 PM schreef MRob: > On 2017-04-05 18:50, MRob wrote: >> RFC 6785 says I should be able to run scripts when a command changes >> flags on a message but I can't understand what to put in >> imapsieve_mailboxXXX_causes. Dovecot logs something like STORE as an >> invalid cause. >> >> How do I run an administrator Sieve script caused from
2017 Apr 06
2
IMAPSieve Changed flags cause?
RFC 6785 says I should be able to run scripts when a command changes flags on a message but I can't understand what to put in imapsieve_mailboxXXX_causes. Dovecot logs something like STORE as an invalid cause. How do I run an administrator Sieve script caused from change in flags?