News
Configuring Asterisk with railsThu, 02 Sep 2010 07:18:33 UT
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.
Rails 3.0, setting asset_host class
Thu, 02 Sep 2010 01:32:03 UT
I am upgrading to Rails 3.0, but am having a difficult time getting it to boot. I have a custom asset host class that passes the name of the asset host into its constructor. I set this class in each of the environment configuration file. For instance, in development.rb, I have: ActionController::Base.asset_h ost = AssetHostingWithSsl.new("http: //
link_to
Thu, 02 Sep 2010 07:38:53 UT
I am trying to use an encrypted request to PayPal using my own submit button link I googled a little but, but could not find a clear & neat solution, so I ended writing this : == Rails 2.3.8 script code ==== ... <% form_tag APP_CONFIG[:paypal_url], {:id => 'form_paypal'} do %> <%= hidden_field_tag :cmd, "_s-xclick" %>
How to override form_helper module
Thu, 02 Sep 2010 09:12:00 UT
Hi, I would like to add my own form helper how can I do this without editing the Rails source code? Greg
Read embedded image from xml file
Thu, 02 Sep 2010 09:18:36 UT
Hi, I have an xml file which contains an embedded image(this is not from a rails application), i cant get a clear answer on this so basically i need to know is there a way i can read the image from the xml file and then store it to the file system somewhere? Im using paperclip as my means of managing files.
Progressbar for Slow Loading Webpages
Thu, 02 Sep 2010 10:05:07 UT
Hi, I would like to show a progress bar in the browser until my pages load. As my web pages take more that 10 seconds to load, I have decided to show the progres bar. Please help me with your ideas
controller failing to read flash
Thu, 02 Sep 2010 10:36:40 UT
I'm seeing some pretty strange behavior from the flash in my rails 2.3.8 app. I set the flash in a request, and then redirect. In the next request (the one redirected to), accessing the flash returns an empty hash, but the flash is stored and visible in the session. (rdb:21) session {:user_credentials=>"...", :session_id=>"...", :user_credentials_id=>1, :flash=>{:notice=>"Twitter
Remove array within hash
Thu, 02 Sep 2010 10:49:33 UT
My orginal hash is like as ==> hash = {"sku_id"=>[4], "brand_active"=>["true"], "salesman_active"=>["true"]} How to remove the array within hash. that means to convert the hash like ==> {"sku_id"=>4, "brand_active"=>"true", "salesman_active"=>"true"
Rails 3 web server quits with error message on booting
Thu, 02 Sep 2010 10:57:01 UT
Hi, have tried to boot the web server but keep on getting this error message. Can you help me figure out what it means? TIA rails server => Booting WEBrick => Rails 3.0.0 application starting in development on [link] => Call with -d to detach => Ctrl-C to shutdown server Exiting
Komodo Edit + rvm
Thu, 02 Sep 2010 11:21:27 UT
Folks, any of you who uses Komodo Edit for Ruby/Rails development had any experience using Komodo Edit and rvm together? I really like Komodo Edit, but my inability to put them to work along each other is really annoying... I have tried several ways and they all didn't work. Googled for it and didn't find any solution that worked...
Re: Running consecutive DOS commands in Ruby
Thu, 02 Sep 2010 11:28:47 UT
Hello Everyone, I have a situation where i have to invoke command line tools like putty_sftp and OpenSSH from ruby script for automation, as out application handles sftp uploads through these tools. So the problem is i can single DOS command in ruby and store the output(using system( ),exec( )), but here were are talking abt
unable to upload larger files
Thu, 02 Sep 2010 13:08:29 UT
hii, i am trying to upload some files to filesystem using rails application when i use small size file everything is perfect but i when goes for larger files i got error this is my code class DataFile < ActiveRecord::Base def self.save(upload) name = upload['datafile'].original_fi lename directory = "//192.168.147.17/Smruti/strea ms"
Disable Rails caching in test environment?
Thu, 02 Sep 2010 13:20:30 UT
Is there a way to make Rails.cache.fetch always execute the code block in the test environment? (disable caching) For example in my test console on Rails 3 ruby-1.9.2-rc2 > Rails.cache.fetch('foo') {'bar'} => "bar" ruby-1.9.2-rc2 > Rails.cache.fetch('foo') {'bar44'} => "bar" Caching is on. Using filestore
When will Spork be Rails3-ready?
Thu, 02 Sep 2010 15:18:53 UT
Anyone have any ideas?
DEPRECATION WARNINGs
Thu, 02 Sep 2010 16:22:22 UT
Hello, new to rails, I'm currently learning Rails 3 using the online book. Whenever I run a rails command in terminal, the results are always proceeding by: DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from /Library/Ruby/Gems/1.8/gems/wi ll_paginate-3.0.pre/lib/ will_paginate/railtie.rb:6)
Determining who is calling a helper method
Thu, 02 Sep 2010 19:17:38 UT
I have a view calling a helper method is_disabled like this : <%= form.input :company, :label => "Company name", :input_html => { :disabled => is_disabled } %> How can I determine in my helper which element (here :company) is calling the is_disabled method without having to pass a parameter ? Thx by advance for your help.
wFace – windows phone 7 facebook integration part 2
Thu, 02 Sep 2010 00:00:00 GMT
This article shows how to use the Facebook graph_api (http://developers.facebook.com/docs/api) in a windows phone 7 (wp7) Silverlight application. All used tools are free software – for downloads take – take a look at the links at the end of this document.
Introduction to SQL Server Proactive Caching
Arshad Ali explores Proactive Caching, available in SQL Server Analysis Services 2005 and later versions. Proactive Caching helps DBAs to better control the cube data automatic refresh frequency. Proactive Caching offers near real time data for reports, while at same time providing a query performance similar to MOLAP storage mode.
A Guide to Microsoft SQL Server Replication
Replication is the technique of keeping the database between various SQL Server instances up-to-date as the database changes. There are different replication technologies available in SQL Server, one of which uses different techniques of providing various levels of currency in the data.
The Services Offered by Web Development Companies
Wed, 01 Sep 2010 17:07:26 -0500
These days, web development companies are a dime a dozen. It is important that you do your research ahead of time and choose a company well suited to your needs and requirements. When it comes to business matters, staying close to home always brings a sense of comfort and if you do your research to find a high quality and reasonably priced web development company, it will be well worth it in the end.



