[Rails] [HELP] - Ruby Drag and Drop script on screen element in Mac OS

2013-06-19 Thread Muthu Selvan
Hi All , I am new to the ruby , i want click the object on element ( any object , Ex: Calculator) after click i need Drag and Drop the element continuously for some time , please let me know how to do it in ruby in Mac OS ? Thanks , Muthu Selvan SR -- You received this message bec

[Rails] Problema Aptana e Debugger

2013-06-19 Thread Yuri Redaelli
Ciao a tutti, sto cercando di configurare Aptana 3 per far girare un progetto in Rails 3 in modalità debug per sfruttare breakpoint e compagnia. Purtroppo mi sto imbattendo in diverse difficoltà e ancora oggi non riesco a farlo funzionare correttamente. N.B. Solo in debug mode intendo perchè dive

Re: [Rails] Need help to learn Webservices

2013-06-19 Thread Dheeraj Kumar
If you don't know what web services are, please google, learn, and come back when you have a problem with soap4r. -- Dheeraj Kumar On Thursday 20 June 2013 at 10:07 AM, Khan wrote: > Hi all, > I want to learn webservices using soap4r gem. I have no idea what it > is kindly help me to

[Rails] Need help to learn Webservices

2013-06-19 Thread Khan
Hi all, I want to learn webservices using soap4r gem. I have no idea what it is kindly help me to learn any good links . I am searching for good links to learn which gives clear information about webservices. Thanks in advance Cheers, Khan -- You received this message because you ar

Re: [Rails] Looping through hash and sub-hash.

2013-06-19 Thread Jeffrey Jones
You are mixing up arrays and hashes. Below is an all hash example. @prices = { "amazon_new" => { "image" => "imageurl.com", "url" => "bookurl.com", "price" => 45.55 }, "amazon_used" => { "image" => "2ndImageUrl.com", "url" => "2ndbookurl.com", "price" => 67.45 } }

Re: [Rails] Looping through hash and sub-hash.

2013-06-19 Thread Jim Ruther Nill
On Thu, Jun 20, 2013 at 10:30 AM, Patrick Curl wrote: > # Need a little push in the right direction. > @prices = [ > "amazon_new" => [ > "image" => "imageurl.com", > "url" => "bookurl.com", > "price" => 45.55 > ], > > "amazon_used" => [ >

[Rails] Looping through hash and sub-hash.

2013-06-19 Thread Patrick Curl
# Need a little push in the right direction. @prices = [ "amazon_new" => [ "image" => "imageurl.com", "url" => "bookurl.com", "price" => 45.55 ], "amazon_used" => [ "image" => "2ndImageUrl.com", "u

[Rails] Running RSpec tests, how can I resolve a “Curl::Err::OutOfMemoryError”?

2013-06-19 Thread enQA
Running an rspec test with ruby bindings for libcurl (with curb) like so: it "Should return a certain user in a JSON array" do $var = Curl::Easy.new("some-url.com") $var.perform response = JSON.parse($var.body_str) response['user'].should eq('some user nam

[Rails] Conditionally cache files in Rails asset pipeline

2013-06-19 Thread Bryan Migliorisi
We have a custom preprocessor that we've injected into the asset pipeline which preprocesses specific filetypes successfully. The problem is that our preprocessor will generate content dynamically so these precompiled assets should not be cached. I am looking for a way to prevent *.myfiletype

[Rails] Product suggestion

2013-06-19 Thread Rekha Benada
Hi, I am developing a product in Ruby on Rails, I am looking for a good design, few pages I have developed but want to change design I want to know what is the best way to design pages in ruby on rails Rekha -- You received this message because you are subscribed to the Google Groups "Ruby o

[Rails] [HELP] ruby 1.9.2 is not showing in gem environment ( GEM PATH)

2013-06-19 Thread Muthu Selvan
Hi All , Installed ruby 1.9.2 , if i use rvm use command its showing using ruby 1.9.2 only but in my gem environment ( GEM PATHS) is not showing .. *$ rvm use 1.9.2* *Using /Users/mselv2/.rvm/gems/ruby-1.9.2-p320* mselv2m1:nikeplus-running-ios mselv2$ *gem environment* RubyGems Environment:

[Rails] Re: Occasional "translation missing" error, even though translation is present

2013-06-19 Thread Mickiii
I forgot to add, that I am on Rails 3.2.13 and Ruby 2.0.0p195 On Wednesday, June 19, 2013 9:48:19 PM UTC+2, Mickiii wrote: > > Hi, > > I have a little issue that I am unsure how to debug / solve. > > I am building an application that uses localized number formatting, and I > noticed that sometim

[Rails] Occasional "translation missing" error, even though translation is present

2013-06-19 Thread Mickiii
Hi, I have a little issue that I am unsure how to debug / solve. I am building an application that uses localized number formatting, and I noticed that sometimes it does not send the necessary variables to client_side_validation, but simply returns "translation missing" error. When I reload t

[Rails] Ruby on Rails Requirement - Hyderabad

2013-06-19 Thread Sushil Karampuri
Hi, We are looking for Ruby On Rails programmers for our company - eAbyas. The location is hyderabad. The candidate is required to have 2+ ROR experience and willing to work in an startup environment. Interested developers, please send your resume to yam...@eabyas.in Thanks, Sushil -- You

Re: [Rails] How to Pass Jquery selected dropdown values and radio button values to controller

2013-06-19 Thread Rafal Stepien
Hi, Maybe you can check those http://railscasts.com/episodes/88-dynamic-select-menus http://railscasts.com/episodes/111-advanced-search-form Rafal 2013/6/18 mugdha r. > Hi, > > I have an advance search page and its code is as follows - > > I have written my code like this > > <%= form_tag

Re: [Rails] Re: Heroku's “pg:psql” command doesn't work. How to pass commands to load schema from structure.sql?

2013-06-19 Thread Peter Hickman
Your question is not a general deployment question. It is heavily dependent on Heroku and as such somewhere more focused would be a better place to ask. As proof look at all the replies you have received! That is because people see "oh he's having a problem with Heroku" (its even in the subject l

[Rails] Re: Heroku's “pg:psql” command doesn't work. How to pass commands to load schema from structure.sql?

2013-06-19 Thread Wins Lin
Jordon Bedwell wrote in post #1112859: > On Wed, Jun 19, 2013 at 4:27 AM, Wins Lin wrote: >> Why it says the app isn't found? I provided all correct data. What else >> do I need to pass to create tables on Heroku from structure.sql? > > This is not Heroku support... Yes, this isn't. But my questi

Re: [Rails] Heroku's “pg:psql” command doesn't work. How to pass commands to load schema from structure.sql?

2013-06-19 Thread Jordon Bedwell
On Wed, Jun 19, 2013 at 4:27 AM, Wins Lin wrote: > Why it says the app isn't found? I provided all correct data. What else > do I need to pass to create tables on Heroku from structure.sql? This is not Heroku support... Use https://groups.google.com/forum/#!forum/heroku -- You received this mes

[Rails] Local asset precompile and production

2013-06-19 Thread Michael Kastner
Hi, I'm a bit confused here regarding precompile. In some cases, I'd just like to deploy the locally precompiled assets to the production app. But it seems, that somehow, if the files in app/assets are not deployed as well, rails does not use precompiled ones. Is that behaviour intended? Or, p

[Rails] Heroku's “pg:psql” command doesn't work. How to pass commands to load schema from structure.sql?

2013-06-19 Thread Wins Lin
I want to load schema from structure.sql file to Heroku's database. On my localhost machine I do as follows and all works just fine, all tables are created: > C:\> psql -U postgres -a -d MyApp_development -f C:\MyApp\db\structure.sql But when I want to perform the same task on Heroku, it suddenly

[Rails] Heroku's “pg:psql” command doesn't work. How to pass commands to load schema from structure.sql?

2013-06-19 Thread Wins Lin
I want to load schema from structure.sql file to Heroku's database. On my localhost machine I do as follows and all works just fine, all tables are created: > C:\> psql -U postgres -a -d MyApp_development -f C:\MyApp\db\structure.sql But when I want to perform the same task on Heroku, it suddenly

[Rails] Re: How to capture IP address in ruby 1.8.7

2013-06-19 Thread Aguardientico
Hey Khan. Here you have some examples: http://stackoverflow.com/questions/14112955/how-to-get-my-machines-ip-address-from-ruby-without-leveraging-from-other-ip-ad El martes, 18 de junio de 2013 00:56:02 UTC-5, Khan escribió: > Hi all, I want to capture IP address in ruby 1.8.7 can any one hel