569 Topics

Member Avatar for
Member Avatar for kinger29

Is there any such thing as destructors in ruby. I am trying to figure out how to destroy an object.

Member Avatar for destin
0
110
Member Avatar for kinger29

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 …

Member Avatar for destin
0
94
Member Avatar for ahfan_85

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 …

Member Avatar for ahamed101
0
109
Member Avatar for needhelp83

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 = …

0
65
Member Avatar for clem_c_rock

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 …

Member Avatar for clem_c_rock
0
129
Member Avatar for slogeshwaran

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) …

Member Avatar for amithasija
0
287
Member Avatar for heshan

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.

Member Avatar for peter_budo
0
107
Member Avatar for amithasija

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 …

Member Avatar for jrichter
0
115
Member Avatar for Mr. Bill Klepto

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.

Member Avatar for whatanidea
0
64
Member Avatar for The Dude

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 …

Member Avatar for R0bb0b
0
128
Member Avatar for vhaerun

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 …

0
70
Member Avatar for justleapin

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 …

Member Avatar for sittas87
0
181
Member Avatar for wjordan1987

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 …

Member Avatar for MitkOK
0
80
Member Avatar for iam

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 …

Member Avatar for peter_budo
0
234
Member Avatar for forumdude123

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 …

Member Avatar for forumdude123
0
139
Member Avatar for edmicman

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 …

Member Avatar for sarehu
0
219
Member Avatar for mgt

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 …

Member Avatar for digital-ether
0
1K
Member Avatar for jax2008

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 …

0
55
Member Avatar for nanodano

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?

Member Avatar for peter_budo
0
242
Member Avatar for drweb

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, …

0
82
Member Avatar for echobase

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 …

0
92
Member Avatar for sathya_k_83

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. …

0
77
Member Avatar for mattyd

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 …

0
117
Member Avatar for sugarbabee

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 …

Member Avatar for sugarbabee
0
84
Member Avatar for supriya.iiita

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 …

Member Avatar for ~s.o.s~
0
213
Member Avatar for tonyaim83

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 …

0
67
Member Avatar for Xyphereos

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!

Member Avatar for homehtml
0
93
Member Avatar for echobase

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 …

0
66
Member Avatar for Jx_Man

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 …

Member Avatar for pty
0
156
Member Avatar for techbound

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 …

Member Avatar for Serunson
0
62
Member Avatar for qools

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 …

Member Avatar for pty
0
158
Member Avatar for nclester

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, …

Member Avatar for sarehu
0
259
Member Avatar for RyanLeaf

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 …

Member Avatar for Ancient Dragon
-1
500
Member Avatar for greglobal

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

Member Avatar for johnlin
0
98
Member Avatar for Nessie

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 …

Member Avatar for zandiago
0
107
Member Avatar for superjacent

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: …

Member Avatar for superjacent
0
189
Member Avatar for linux

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 …

Member Avatar for linux
0
229
Member Avatar for joshualef

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 …

Member Avatar for joshualef
0
66
Member Avatar for clarkkent

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 …

Member Avatar for JerryShaw
0
126
Member Avatar for davidianstyle

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 …

Member Avatar for jenishkottaram
0
161
Member Avatar for stlmac

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 …

Member Avatar for stlmac
0
119
Member Avatar for bdude

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 …

0
86
Member Avatar for EchoQuiet

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 …

Member Avatar for jbennet
0
234
Member Avatar for MitkOK

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 …

Member Avatar for pty
0
150
Member Avatar for stupidenator

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 …

Member Avatar for stupidenator
0
122
Member Avatar for tefflox

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 …

Member Avatar for pty
0
114
Member Avatar for echobase

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 …

Member Avatar for eruder
0
113
Member Avatar for VINEET KUMAR

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.

Member Avatar for dianas
0
89
Member Avatar for Mohammad21

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 …

Member Avatar for Ancient Dragon
0
119
Member Avatar for echobase

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 …

Member Avatar for pty
0
96

The End.