569 Topics
![]() | |
Is there any such thing as destructors in ruby. I am trying to figure out how to destroy an object. | |
I am trying to search through a string to find the number of occurences of a substring. I am doing this for all the strings in an array of strings. I only have figured out the while loops so far. How can I traverse through an array of strings using … | |
Hi,dear all... Im new to C and to this discussion forum. i hv a problem here,which is an array passing problem. int calAge(]) doesnt work well. i tried to look from the internet for reference but get nothing. can u all help me to check it out?coz im not familiar … | |
This is my first program and Ruby and I am trying to get some help on writing a BST. [ICODE] require 'rational' class BST def insert(newo) if ! @o @o = newo else case @o <=> newo when 1 @left = BST.new if ! @left @left.insert(newo) when -1 @right = … | |
Hello, I'm trying to get the backbone of a rails project up and running on localhost and also on a rails playground hosted site. On localhost the app runs great and I can call my say/hello w/ either: [url]http://localhost:3000/controller/say/hello[/url] or [url]http://localhost:3000/say/hello[/url], but when I try this on my rails playground … | |
Hello, I have to send mail to multiple recipients. I have one text file, it contains emailaddress. In ruby program i should parse the emailaddresses and send to multiple recipients. for example. Just parsing it into an Array and either iterate over the array (sending one e-mail for each address) … | |
Apache Axis2/Java, is a popular open source Web service engine. It currently supports xposing services written in Java, Javascript and Ruby as Web services. This [URL="http://wso2.org/library/articles/deploying-python-service-axis2"]article[/URL] discusses the Python data Binding that enable exposing Web services written in Python. | |
hi everybody, i want to access the images stored in /public/images folder through url, means if my application is running on port-3000,than i want to access the images folder using localhost with this port in url.so that i can see any image in that folder just by changing name in … | |
I've been looking for a language that provides an extremely scalable architecture but can't figure out which is best or even if I'm missing some. I'm looking at CF, Python, and PHP. I know Ruby isn't going to scale enough for what I'm looking into. Thank you for any suggestions. ![]() | |
If this is real i feel bad for her!! [url]http://www.drudge.com/news/111229/most-pathetic-obituary-ever[/url] [quote][i]Dolores Aguilar 1929 - Aug. 7, 2008 Dolores Aguilar, born in 1929 in New Mexico, left us on August 7, 2008. She will be met in the afterlife by her husband, Raymond, her son, Paul Jr., and daughter, Ruby. She … | |
hi guys ! I'm kinda new to ruby , and was wondering about the following stuff , assume the following code : [code] Shoes.app { button("Press Me") { alert("You pressed me") } } [/code] how could I write code like that , so that when I call a method like … | |
Hi there! We're a Vancouver, Canada-based shop developing a 3D / web-based virtual worlds platform with Ruby on Rails. We're looking for beta testers, so if anyone's interested in 3D web stuff and cares to try a demo, please drop by: <URL SNIPPED> (see also a [URL="http://www.youtube.com/watch?v=VkH9GuSI184&fmt=6"]YouTube video[/URL]) We're also … | |
Hello, I'm new to ruby I tried to view my webpage on the webrick server and this error came up. I made the webpage in notepage. All its says is "Hello World". I saved the ruby doc in the controllers folder as say_controller.rb and saved the notepad doc in the … | |
I've been lurking on DaniWeb for a while now and have finally got round to registering, particuarly after realising it had a Ruby forum. I've been playing with Ruby for a couple of months now and am in love with its common sense approach to programming, and makes the likes … | |
One of my pc's that i built recently has the following (as well as a 600watt quality psu): xfx 630i motherboard- [url]http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=3517183[/url] Pentium D E2180 CPU 2.0ghz stock- [url]http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=3505668&CatId=2851[/url] Thermaltake Ruby Orb Cpu HSF- [url]http://www.tigerdirect.com/applications/searchtools/item-Details.asp?EdpNo=2844209&sku=T925-2032&srkey=ruby%20orb[/url] Now, here's my problem. I've heard a lot about overclocking, and how you can max … | |
Ok, I've got a newbish question that Google is turning up tons of different answers too....hopefully I can get some interactive input. I've been working in Microsoft shops doing web development for going on 10 years now. I'm very familiar with SQL Server and classic ASP, and that is what … | |
I'm new to Javascript and found some code on the internet that's supposed to create some nested select boxes. Here is the code: [code=html]<html> <head>Some testing</head> <script type="text/javascript" //src="http://trac.mochikit.com/browser/mochikit/trunk/packed/MochiKit/MochiKit.js?rev=1256&format=raw"></script> <script type="text/javascript"> /* <![CDATA[ */ // An array of the currently visible selects var level_selects = new Array(); connect(window, 'onload', function … | |
JAX ([url]http://www.jax-conf.com/[/url]) is the the most comprehensive conference on web and enterprise development. It provides an ideal forum for software developers, project managers and architects to learn about the latest Technology, Architecture and Agile Methodologies. It is this very special blend of topics which has made JAX the conference of … | |
I think it is unfair to stick the Ruby discussion forum inside Web Development. Ruby on Rails is a really handy web framework, but Ruby has other capabilities. I think it should be put under Software Development, does anyone agree? | |
Hi All! I need to parse a piece Ruby source code file. For that purpose, I need a Ruby parser (which can be used on windows plateform). I tried to configure ruby_parser 1.0, but I am unable to configure it on windows XP, as it is depending upon RACC parser, … | |
Hi- I have a javascript string variable: var string1 = "blah blah blah"; ....and after some operations are done to it (NOT directly by the user but triggered instead by events happening in the background) I want to pass it back to the server to be saved in the database … | |
hi I have installed Ruby 1.8.5-21 and also installed the watir gem. but when i use the below statement require 'watir' #i get the below error ./watir.rb:4: uninitialized constant Watir (NameError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from watir.rb:2 >Exit code: 1 please tell me how to prevent this error. … | |
I am a member of a QA/testing team for a software company in NYC. We have decided recently to begin the development of scripting tools to automate repetitive tasks used during our testing cycles. We have decided to use Ruby. Although we have admired Ruby from afar for some time … | |
So I'm new to Ruby and this code that I am supposed to be changing is using f.check_box for check boxes. The point of the boxes are to enable or disable specific qualities of a calendar. The problem is that I need to add another item (and therefore checkbox) to … | |
im making a dynamic table in ruby on rails in which im displaying devices in a table and corresponding to each device i want to show its status which is ibtained dynamically by an ajax function (periodically_call_remote) which updates a div. its working fine but its updating only the first … | |
Hi I m new to ruby so kindly forgive for small mistakes. I m trying to invoke a c function in ruby which uses a structure * as a parameter but i m able to run in one example and it is not running in the other case. Program which … | |
Hi I am new to ruby and these forums. I am interested in using Ruby on Rails and was wondering if anybody could tell me any good books that would help me. Also do I need to know any other languages before starting rails. Thanks! | |
Hello all- I'm looking for some advice.... As a newbie to rails and ajax I've been enlisted to add a feature to an existing application. In a page where users create new accounts I need to add some kind of observer to the form that checks to see if an … | |
Hi All... i m newbie with ruby. a couple weeks ago i was reading book about oracle 10G XE then i found a new language that i never heard before named Ruby on Rails. i was exited and want lo learn many about this language. so, please help me to … | |
Name: Carlos Nickname: Junior Height: 5'11'' Weight: 175 Hair: Black Eyes: Brown Location: Iraq (will be back stateside Virginia Oct08) Age: 33 Hobbies: Reading some fiction mainly non-fiction, writing a movie script, photography of people and nature, online games mainly wow :) Relationship Status: Engaged to be married no date … | |
Hi i have just start to try out ruby and since has met with some problems during the execution of ruby coding. I have tried simple ruby codings embedded into HTML files and it works fine but the main trouble occurs when i wish to test out pre-written codes from … | |
I'm wondering what sort of code is implemented when creating an online casino / sportsbook web-site. I've been looking into a start-up, but refuse to pay 100k for software, especially if my game programming friends can help me out. What sort of code is used? C, C++, PHP, Perl, Ruby, … | |
I, a 13 year old 'geek', am interested in programming. My initial question is whether or not should I start with C++ or Assembly? I know I probably will end up using Assembly (as I want to be able to control everything that happens with it, and I don't want … | |
Hello, I want to write a simple application in Ruby to send a sms message. Is there any free sms gateway to try it out ? Any good sites/tutorials for developing the sms code ? Thanks atul | |
Yep, Nessie as in the monster...;) Name: Geoff Nickname: Nessie, Munter Height: 171cm Weight: 80kg Hair: Not much left...but what's there is brown... Eyes: Blue Location: Wellington, NZ Age: 33 Hobbies: Playing with my two daughters, gaming, guitar, fiddlin' about wif computers, learning Linux, C, Python, Ruby Relationship Status: married … | |
I'm self studying from the book, C++ Primer Plus Fifth Edition, by Stephen Prata. The following relates to Chapter 13, Page 699, Programming Exercise #4. One task is to write the derived class method definitions based upon the given prototypes. The following are the said prototypes. [CODE="cpp"]class Port { private: … | |
Blah, I hate build errors. Especially when I seem to have all the right dependencies installed. [code]wxw/mAParentFrame.cpp:950: error: variable or field ‘OnAbout’ declared void wxw/mAParentFrame.cpp:950: error: ‘int mAParentFrame::OnAbout’ is not a static member of ‘class mAParentFrame’ wxw/mAParentFrame.cpp:950: error: ‘wxCommandEvent’ was not declared in this scope wxw/mAParentFrame.cpp:950: error: ‘event’ was not … | |
I'm trying to develop a (fairly) basic window using Fxruby. The window will look something like this. Top Frame A frame for text (about 1/3 to 1/2 of the area of the window The lower 1/3 to 1/2 of the window will consist of 5 radio buttons (each with text … | |
I am working on an application to help ease some of the command line stuff for ruby on rails while i learn it. I have the app starting and stopping apache as well as MySql. What i am having trouble with is starting mongrel. I would like to start this … | |
Hi Everyone, I'm fairly new to DaniWeb and I was hoping I could get some advice from all you experts out there. I registered my own domain name and got a host a few days ago and am planning on building a personal website based on Ruby on Rails (I'm … | |
I have to do a birthday project for by c++ class that allows the user to enter a birthay and dislay information about that birhday including the birhstone, astrological sign and the season which the birthday occurs. The main menu of the program should allow you to enter a persons … | |
Hi, I'm using the Ruby gem amazon-ecs to access the Amazon API on my local development. For some reason the REST responses can take up to 20 seconds to download, as opposed to a few seconds when viewed through my web browser. I'm using OS X/Leopard/Rails 2.0 if you must … | |
Greetings Everyone, I've found myself being referred to <DANIWEB> from web development-related Google searches quite frequently. So I decided to become a member. I didn't realize the depth of the community and content here until this morning when I was looking up XHTML related issues. Every other search was bringing … | |
Hi folks. I made some research on Rails vs. Django, but I didn't come to conclusion which is better to learn. Basically I don't know either Ruby or Python. RoR became very popular last year, has many resources and rich documentation and books/tutorials. On the other hand Python as a … | |
Hey everyone, I am new to Ruby on Rails and I am having a problem that I can't seem to figure out. I have a mysql database that I created and I have created a model for it. I have did not create a migration, as the database is already … | |
Hello, I'm pleased to be here by way of the html forum. I've been using php for static pages for 18 months. I wanted to learn rails, but I just realized that I could configure my host to automate index.rhtml files just like php. This is a major motivator for … | |
Hello- As a newbie Rails developer, I realize I should have a solid knowledge of SQL regardless of the wonderful abstraction Rails provides. That said, I'm trying to build my first app within the next couple of weeks, relying completely on those abstractions. A couple of questions...... Let's say I … | |
Thanks guys for giving the reply of my previous query.Now I again i have a new query and expect the same and thank in advance. The query is how to install plugin in ruby on rails environment. | |
Hey, I decided I'm going to try to make a small game, now I need help though since ussally I use Ruby and Python not C++. The help I need is in find an server / client libary (sorry for my sentences beeing so choppy dunno why today) If someone … | |
Hi- I'm designing the database for my app and am trying to do it as intelligently as possible. I'm trying to avoid an explosion of tables and thought single table inheritance (STI) might be the answer..... Is it me or is the use of foreign key constraints (nearly?) impossible when … |
The End.