[Rails] Configuring Asterisk with rails
Hi all, Is there anyone who configure Asterisk with rails? Can you please suggest the best way to implement the live recording using Asterisk and rails, I seen RAGI, RAMI gems and now concentrating on telegraph plugin for implementing live recording,but the resources for all these are very very old they all are not coping with the newer versions. can you all suggest the best way to implement this? please help me out Thanks and Regards, Shripad -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Recording a Live Earning Cast call
Hi Mat, thanks for you reply basically I am crawling data from other site, what client wants is, during web-casting that call should be simultaneously recorded at my side. We have the recording task, that records the cast after it has archived, now I want live recording functionality, how can I implement this. Thanks and regards, Shri On Aug 28, 7:20 pm, Matt Jones wrote: > On Aug 27, 8:30 am, Shripad wrote: > > > Hi all, > > > I am working on a project, in this I am assigned a task, this task > > consist of recording a live earning cast call when administrator press > > single button for that event. > > The Earning cast call are basically conference calls which happen at > > the company premises. > > How can I implement this recording functionality in ROR, > > Please help me > > You're going to need to provide a lot more information to get any kind > of helpful reply on this. How is the call being broadcast? I suppose > one could capture a streaming-audio broadcast and save it to disk. > > --Matt Jones -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Recording a Live Earning Cast call
Hi all, I am working on a project, in this I am assigned a task, this task consist of recording a live earning cast call when administrator press single button for that event. The Earning cast call are basically conference calls which happen at the company premises. How can I implement this recording functionality in ROR, Please help me Thanks, Shri -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Capistrano on Windows
Hi all, I am new to Capistrano, Can anyone told me how to use that on windows. Please provide me any good available resource. Please help me out. Thanks and Regards, Shri --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: How to use Net::SSH
Hi, I updated the gem. but still it is showing me the same error. I am using windows, is that a problem for SFTP? IS OpenSSH require for SFTP to connect to remote machine? Is there any other way to do this? Thanks and Regards, Shripad On Apr 8, 12:58 pm, Conrad Taylor wrote: > On Wed, Apr 8, 2009 at 12:08 AM, Shripad wrote: > > > Hi, > > Thanks Conrad for ur urgent reply > > > What I want to do is just pickup the images from machine A to machine > > B. > > > I did what you say but I am getting error as follows > > > E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/net-sftp-2.0.2/lib/net/ > > sftp.rb:43:in > > `start': undefined method `shutdown!' for nil:NilClass > > (NoMethodError) > > from SSHTransfer.rb:8 > > > what I write is this > > sftp=Net::SFTP.start('132.147.161.159', 'k',:password => 'k') > > > Thanks and Regards > > > On Apr 8, 11:24 am, Conrad Taylor wrote: > > > On Tue, Apr 7, 2009 at 10:27 PM, Shripad > > wrote: > > > > > Hi all, > > > > > I am having following code in ruby > > > > > require 'net/ssh' > > > > require 'net/sftp' > > > > begin > > > > Net::SSH.start > > > > ('132.147.161.159',:password=>'k',:port=>1234,:username=>'k') do |ssh| > > > > ssh.sftp.connect do |sftp| > > > > Dir.foreach('.') do |file| > > > > puts file > > > > end > > > > end > > > > end > > > > rescue Exception=> Ex > > > > puts Ex.message > > > > end > > > > > After executing the above code it is giving me following error > > > > > Bad file descriptor - connect(2) > > > > > username, password, and ipaddress are fine > > > > > What I want is to take data from remote machine to server. > > > > > Please Help me out. > > > > > Thanks and Regards, > > > > Shri > > > > What are you wanting to do? SFTP or SSH? From the code, > > > it appears that you're trying to move a file from point A to B. > > > Thus, here's a brief outline of the things that you can do with > > > SFTP: > > > > require 'net/sftp' > > > > Net::SFTP.start('host', 'username', :password => 'password') do |sftp| > > > # upload a file or directory to the remote host > > > sftp.upload!("/path/to/local", "/path/to/remote") > > > > # download a file or directory from the remote host > > > sftp.download!("/path/to/remote", "/path/to/local") > > > > # grab data off the remote host directly to a buffer > > > data = sftp.download!("/path/to/remote") > > > > # open and write to a pseudo-IO for a remote file > > > sftp.file.open("/path/to/remote", "w") do |f| > > > f.puts "Hello, world!\n" > > > end > > > > # open and read from a pseudo-IO for a remote file > > > sftp.file.open("/path/to/remote", "r") do |f| > > > puts f.gets > > > end > > > > # create a directory > > > sftp.mkdir! "/path/to/directory" > > > > # list the entries in a directory > > > sftp.dir.foreach("/path/to/directory") do |entry| > > > puts entry.longname > > > end > > > end > > > > Good luck, > > > > -Conrad > > Can you upgrade the gem and retrying what you > did before? You can upgrade by doing the following: > > sudo gem update > > -Conrad --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: How to use Net::SSH
Hi, Thanks Conrad for ur urgent reply What I want to do is just pickup the images from machine A to machine B. I did what you say but I am getting error as follows E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/net-sftp-2.0.2/lib/net/ sftp.rb:43:in `start': undefined method `shutdown!' for nil:NilClass (NoMethodError) from SSHTransfer.rb:8 what I write is this sftp=Net::SFTP.start('132.147.161.159', 'k',:password => 'k') Thanks and Regards On Apr 8, 11:24 am, Conrad Taylor wrote: > On Tue, Apr 7, 2009 at 10:27 PM, Shripad wrote: > > > Hi all, > > > I am having following code in ruby > > > require 'net/ssh' > > require 'net/sftp' > > begin > > Net::SSH.start > > ('132.147.161.159',:password=>'k',:port=>1234,:username=>'k') do |ssh| > > ssh.sftp.connect do |sftp| > > Dir.foreach('.') do |file| > > puts file > > end > > end > > end > > rescue Exception=> Ex > > puts Ex.message > > end > > > After executing the above code it is giving me following error > > > Bad file descriptor - connect(2) > > > username, password, and ipaddress are fine > > > What I want is to take data from remote machine to server. > > > Please Help me out. > > > Thanks and Regards, > > Shri > > What are you wanting to do? SFTP or SSH? From the code, > it appears that you're trying to move a file from point A to B. > Thus, here's a brief outline of the things that you can do with > SFTP: > > require 'net/sftp' > > Net::SFTP.start('host', 'username', :password => 'password') do |sftp| > # upload a file or directory to the remote host > sftp.upload!("/path/to/local", "/path/to/remote") > > # download a file or directory from the remote host > sftp.download!("/path/to/remote", "/path/to/local") > > # grab data off the remote host directly to a buffer > data = sftp.download!("/path/to/remote") > > # open and write to a pseudo-IO for a remote file > sftp.file.open("/path/to/remote", "w") do |f| > f.puts "Hello, world!\n" > end > > # open and read from a pseudo-IO for a remote file > sftp.file.open("/path/to/remote", "r") do |f| > puts f.gets > end > > # create a directory > sftp.mkdir! "/path/to/directory" > > # list the entries in a directory > sftp.dir.foreach("/path/to/directory") do |entry| > puts entry.longname > end > end > > Good luck, > > -Conrad > > --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] How to use Net::SSH
Hi all, I am having following code in ruby require 'net/ssh' require 'net/sftp' begin Net::SSH.start ('132.147.161.159',:password=>'k',:port=>1234,:username=>'k') do |ssh| ssh.sftp.connect do |sftp| Dir.foreach('.') do |file| puts file end end end rescue Exception=> Ex puts Ex.message end After executing the above code it is giving me following error Bad file descriptor - connect(2) username, password, and ipaddress are fine What I want is to take data from remote machine to server. Please Help me out. Thanks and Regards, Shri --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: FTP Transfer in rails
Hi Rick, Thanks for your reply, What I need is 1) connect to a remote machine using its IP. 2)Fetch the folder from that machine. 3)Copy that to the Server PC. How can I achieve that. Please help me out Thanks and Regards, Shripad On Apr 2, 2:22 am, Rick wrote: > http://www.ruby-doc.org/stdlib/libdoc/net/ftp/rdoc/classes/Net/FTP.html > > On Mar 31, 8:48 pm, Shripad wrote: > > > Hi all, > > > I want to transfer complete folder/s containing images from one > > machine to other using FTP. > > > How can I transfer this. > > > Please help me out. > > > Thanks and regards, > > Shripad --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] FTP Transfer in rails
Hi all, I want to transfer complete folder/s containing images from one machine to other using FTP. How can I transfer this. Please help me out. Thanks and regards, Shripad --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: How to pass javascript variable value to a Session Variable in javascript
Hi Starr, Thank u for ur nice reply. I have done the first part what u have mentioned by using "document.cookie". I am new to XMLHttpRequest(XHR) will you please guide me a little more on this with example. I have following code written in javascript var selObj = document.getElementById('zone'); var i; var count = 0; for (i=0; i wrote: > > Can any one tell me, how can I Pass a javascript variable value to a > > ROR session variale in javascript. > > You can either: > > 1) Set a cookie in JS and have your rails app read the cookie. If you're > using not using DB-backed sessions, this may be sufficient. You may not need > to use rails' actual sessions mechanism. > > 2) Have your JS do an XHR request to a special controller action which will > save your data to the session. > > -- > Starr Horne > Check out my Helpdesk RailsKit:http://railskits.com/helpdesk/ --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: How to pass javascript variable value to a Session Variable in javascript
Hi Starr, Thank u for ur nice reply. I have done the first part what u have mentioned by using "document.cookie". I am new to XMLHttpRequest(XHR) will you please guide me a little more on this with example. I have following code written in javascript var selObj = document.getElementById('zone'); var i; var count = 0; for (i=0; i wrote: > > Can any one tell me, how can I Pass a javascript variable value to a > > ROR session variale in javascript. > > You can either: > > 1) Set a cookie in JS and have your rails app read the cookie. If you're > using not using DB-backed sessions, this may be sufficient. You may not need > to use rails' actual sessions mechanism. > > 2) Have your JS do an XHR request to a special controller action which will > save your data to the session. > > -- > Starr Horne > Check out my Helpdesk RailsKit:http://railskits.com/helpdesk/ --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] How to pass javascript variable value to a Session Variable in javascript
Hi all, Can any one tell me, how can I Pass a javascript variable value to a ROR session variale in javascript. Please help me out Thanks, Shripad --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] How to send multiple values to controller using :with option of collection_select
Hi, Thank u all for replying my previous posts. I have following problem I want to send multiple selected values from collection_select using ":with" option to a controller without submitting the form, i have following code <%= collection_select(:cluster, :CLST_RegionID, regions, :id, :REG_RegionName, {:prompt => "Please Select"}, {:onchange => "#{remote_function(:url => {:action => "update_clusters"}, :with => "'id='+value")}"}) %> this works fine for single value, when I write ":multiple => true" it is not allowing me to pass multiple values. what should I change in the above code to passing multiple values to controller? Please help me out, Thanks, Shripad --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Using Active Resource in ROR Application
Hi Fedrick, Thanks for your quick response. I gone through the link which u have mentioned but unable to understand, will u be able to explain me in details and how can I put that in rails project. please explain me about this I will be thankful to you Thanks and Regards, Shripad On Nov 13, 2:01 am, Fredrik <[EMAIL PROTECTED]> wrote: > Ryan does a great job as > usual:http://railscasts.com/episodes/94http://railscasts.com/episodes/95 > > On Nov 12, 5:34 am, Shripad <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > I want to use Active Resource to communicate with other application. > > How can i use Active Resource in my ROR application. > > anyone knows please help me out. > > > Thanks and regards, > > Shripad > > --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Using Active Resource in ROR Application
Hi all, I want to use Active Resource to communicate with other application. How can i use Active Resource in my ROR application. anyone knows please help me out. Thanks and regards, Shripad --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Handling SOAP XML request and Response
Hi Christopher, Thanks for such a quick response. I joined the group and post the same post over there i hope i will get a reply. Do u have any details about the SOAP XML With ROR application because i couldn't able to find a nice material for this on net again thanks for u r quick response. Thanks and regards, Shripad On Nov 3, 12:39 pm, Christoph_Petschnig <[EMAIL PROTECTED]> wrote: > Hi Shripad, > > the soap4r gem will help you.http://dev.ctor.org/soap4r > > There is also a Google Group:http://groups.google.com/group/soap4r > > Regards Christoph > > On Nov 3, 5:34 am, Shripad <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > I have a SOAP XML request coming from a VB6.0 application, which I > > have to handle in my ROR application. > > After the request is handled, i have to parse the request and check > > the extracted values in the database according to the checking i have > > to send a Response to the VB6.0 application. > > Please tell me the procedure how can i used SOAP XML in ROR > > application for handling these activities. > > > Please help me. > > > Thanks and Regards. > > Shripad > > --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Handling SOAP XML request and Response
Hi all, I have a SOAP XML request coming from a VB6.0 application, which I have to handle in my ROR application. After the request is handled, i have to parse the request and check the extracted values in the database according to the checking i have to send a Response to the VB6.0 application. Please tell me the procedure how can i used SOAP XML in ROR application for handling these activities. Please help me. Thanks and Regards. Shripad --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] How to Redirect Rails application from HTTP to HTTPS using lighttpd for WinXP
Hi all, I want to redirect from http to https using lighttpd for winxp, Please explain me. please help me out. Thanks and Regards, Shripad --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: datetime select
Hi, First tell me which database u r using? And, Please execute the last query against database, check whether it is working fine or not thanks and regards, Shripad On Oct 7, 2:25 pm, Katsuo Isono <[EMAIL PROTECTED]> wrote: > Thanks Shripad > From your advice I've got the following. It worked fine until I added > hours and minutes to the range which are attributes 4i and 5i. I don't > get any error messages but don't get values from db either. Datetime > format in the db is 2003-10-14 12:37:51. Any suggestions would be > appreciated. > > my view: > > > > <%= start_form_tag :action => 'time_range' %> > <%= datetime_select("sd", "range") %> > <%= datetime_select("ed", "range") %> > <%= submit_tag 'go'%> > > > > my method: > > def time_range > @start_date = DateTime.civil(params[:sd][:"range(1i)"].to_i, > params[:sd][:"range(2i)"].to_i, > params[:sd][:"range(3i)"].to_i,params[:sd][:"range(4i)"].to_i, > params[:sd][:"range(5i)"].to_i) > > @end_date = > DateTime.civil(params[:ed][:"range(1i)"].to_i,params[:ed][:"range(2i)"].to_i,params[:ed][:"range(3i)"].to_i,params[:ed][:"range(4i)"].to_i, > params[:ed][:"range(5i)"].to_i) > > @orders=Order.find(:all,:conditions => ['created_at BETWEEN ? AND ?', > @start_date, @end_date]) > > end > -- > Posted viahttp://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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: datetime select
hi, you can do this, @start_date = Date.civil(params[:range] [:"start_date(1i)"].to_i,params[:range] [:"start_date(2i)"].to_i,params[:range][:"start_date(3i)"].to_i) @end_date = Date.civil(params[:range] [:"end_date(1i)"].to_i,params[:range] [:"end_date(2i)"].to_i,params[:range][:"end_date(3i)"].to_i) thanks and regards, shripad On Oct 6, 4:16 pm, Katsuo Isono <[EMAIL PROTECTED]> wrote: > I am having difficulty passing datetime values to a method in the > controller. I get sql syntax error from the following. Can someone > advise me what I am doing wrong? > > my view: > > > > <%= start_form_tag :action => 'time_range' %> > <%= datetime_select("sd", "time_range") %> > <%= datetime_select("ed", "time_range") %> > <%= submit_tag 'go'%> > > > > my method: > > def time_range > start_date=params[:sd] > end_date=params[:ed] > @orders=Order.find(:all,:conditions => ['created_at BETWEEN ? AND ?', > start_date, end_date]) > > end > -- > Posted viahttp://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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] HTTP to HTTPS for some pages in ROR
hi all, I want to redirect some pages of my project to HTTPS. How can I do that? Thanks and Regards, Shripad --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] ROR application in any language(eg German, English, Spanish etc)
Hi all, I want an ROR application to work with any language selected, such as German, English, Spanish etc. Is there any plugin or gem available which can do it automatically for me or is there any other way to do this. Please inform me about this.. Thanks and Regards Shripad --~--~-~--~~~---~--~~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---