Already purchased the new Motorola Droid? We want to hear from you! Tell us what you think about it and Google's Android 2.0 software.

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Top Ruby Solutions: 1 - 25 of 29
 
new to ruby on rails started using netbeans and dont know how it works is there a tutorial that tells someone the commands to type in command prompt and how to create and organize new fi...
Dear Ruby experts, I create a new method with accepting one argument. In other class, I pass a Hash as the argument, but somehow it was read as Array inside the method. Any suggestion or ...
Hi, I try to realize something like a query with dynamic column name.  Something like that: :conditions => ['state="online" and (sub_art="konferenz" or sub_art="kongress") and ? = 1', "...
using this tutorial http://www.netbeans.org/kb/60/ruby/rapid-ruby-weblog.html NoMethodError in BlogController#index undefined method `scaffold' for BlogController:Class created databa...
I've pasted the error i am seeing in the code section when i attempt to run 'rake redmine:load_default_data' from the redmine root directory Info about my setup [root@devweb4-clus /]# ruby...
what could be the reasons for a 500 error on a new controller is there a log file do i have to change the permissions of any file
Hello I'm trying to create an array from data taken through the ARGV functionality. Eg - open file from command line then type ... ruby testfile.rb 1 2 3 4 What it sends to file is "1,2,3,...
Hello I want to be able to get user input into an array - e.g. run the ruby script and I would like to be prompted to enter user requirements. Below are 2 methods where I have to open the Rub...
Hello - (newbie) I've take a sample piece of code from the web and adapted it for my Intranet page. Everything works fine and the stylesheet & javascript is not local but from another site. ...
what does testing do in ruby on rails is there testing in php testing for what
I am doing a tutorial app in Ruby.  When trying to create a model I get the error: uninitialized constant ModelGenerator::ActiveRecord.  Ruby ver 1.8.6, Gem ver 2.3.4,mysql ver 5.1.  I am usin...
Hello Can someone tell me why row[0] is not substitutingg 11 for xx see code below Regards Phil
is there a text editor for windows that has a ruby debugger to step through code one line at a time
I'm making an XML-RPC call from Ruby to Java. The Java API is expecting to get an argument of time long which is a unix epoch timestamp. When I'm sending Time.now, I'm getting an error beca...
Hi Running a query using ruby - which works fine until I use a filter clause - eg Where ID = 1 #THIS IS OK AND Name = 'Aberdeen' # this what causes the error Any ideas?
Hello Below is part extract from a text file - eg Name: {@crosstab_total_count_no_n/a} Formula: {@PERCENT_LOGIC_NO_N/A} 5.0 Sectional Information 5.1 Report Header Section Visibl...
Hi, I have an application in RoR that creates a sales order with the following process 1. Create a sales record in the sales table 2. Then creates some line items in the sales_details tabl...
is there a console for typing in commands to ruby on rails
Suggest any popular and good front-end for Ruby.
Hello Just trying to use an array method in a chunk of my code and keep getting error message undefined method `each_slice' What's the problem with this.. array=[1,2,3,4,5,6,7] array.each...
Hello Want to be able to put a new line before and after found record - my code below should make sense  - i hope - Regards Phil myfile = File.open("u:/aberdeen_output.txt","w") tn = Time...
Hello Trying to add a "w" to each element in an array - need some help. The code below adds to end of an array but not to each element. Can someone tell me why and what is the solution. Re...
Hello, I'm trying to "convert" a text file to a series of records in a MySQL table. The text file is about 500,000 lines. example data from the text file: ---Started at 15:23:38 from: <...
ruby -v bash: ruby: command not found rails -v bash: rails: command not found gem bash: gem" command not found do I have to reinstall ruby on rails on windows os every time I resta...
Dear experts, Could you advice me for implementation Bluetooth binding in Ruby (Windows environment)? Any sample code will be appreciated. Thanks.