| |
thread by: veda84 |
last post Oct 16 '07 by: improvcornartist
Hello guys,
How does Hash works internally,
Case1:
# Literal Hash
h0 = { ’one’ => 1, ’two’ => 2, ’three’ => 3}
Case 2:
# Populating a hash
h1 = Hash.new » {}
|
thread by: jabirahmed |
last post Oct 1 '07 by: Colloid Snake
any idea which is the best ??
|
thread by: max power |
last post Sep 24 '07 by: johnnyDispo
Hey,
Pretty new to this and I was asked to setup a application at work that stores all the information regarding all the systems in our lab. Long story short I have everything working apart form exporting the information to a excel sheet. I tried this http://www.napcsweb.com/blog/2007/01/24/excel-export-the-stupid-simple-way/#respond,
which...
|
thread by: beatTheDevil |
last post Sep 21 '07 by: improvcornartist
Hey guys,
I had a theoretical question about Ruby's object handling. Not that it really matters, but I'm using Ruby 1.8.6.
In Ruby, every variable holds a reference to an object. For instance, if you were to say:
myVar1 =
myVar2 = myVar1
myVar2 << "giggity giggity goo"
|
thread by: pplers |
last post Sep 15 '07 by: pplers
# ruby install.rb config
install.rb: entering config phase...
---> lib
---> lib/fox16
<--- lib/fox16
<--- lib
---> ext
---> ext/fox16
/usr/bin/ruby /home/my_username/Desktop/FXRuby-1.6.11/ext/fox16/extconf.rb
can't find header files for ruby.
|
thread by: donrawe42 |
last post Sep 14 '07 by: improvcornartist
Hi,
I'm trying to submit a for using remote function and Form.serialize, if I render the contents of the parameter in the controller all I see is . I understand that Form.serialize creates the object when the getHash option is set to true but I'm not sure how to access the data that should be in the object. Any suggestions would be greatly...
|
thread by: Mohamed Muneer Selim |
last post Sep 8 '07 by: Mohamed Muneer Selim
can ruby access, existing MySQL databases to modify
(add information, search or running queries)
if yes please let me know
|
| |
thread by: rustyc |
last post Sep 7 '07 by: rustyc
Well, here's my first post in this forum (other than saying 'HI' over in the hi forum ;-)
As I said over there:
... for a little side project at home, I'm writing a ham radio web site in uby/Rails. I started it in Perl and gave up on Perl as I went from the 'display the database information on the web page' to the 're-display the information...
|
thread by: smsuma |
last post Sep 6 '07 by: smsuma
Hi,
I am new to Ruby.
How can I identify and click a button in the webpage using win32ole?
Webpage Source code has the following
<input type="submit" value=" Sign In ">
|
thread by: daffurankan |
last post Aug 23 '07 by: ReekenX
hai,
iam ankan iwant to know about this technology.
|
thread by: advenk |
last post Aug 23 '07 by: advenk
can i know the reasone for this exception,
1 error(s) on assignment of multiparameter attributes.....
when we use a date_select.................
|
thread by: Ccraig |
last post Aug 16 '07 by: Ccraig
Hello, I am new to this and have run into a problem. I have edited a column in MySql and I can see that it works fine. The problem I have is I need to refresh the view (hope thats the right term) to show the change. I have looked and come up with:
class test < ActiveRecord::Base
before_destroy :change_field
def change_field
...
|
thread by: beatTheDevil |
last post Aug 2 '07 by: roguesheep
Hey guys,
As the title says I'm trying to make a regular expression (regex/regexp) for use in removing the comments from code. In this case, this particular regex is meant to match /* ... */ comments.
I'm using Ruby v.1.8.6
Here's my regex:
multiline_comments = /\/\*(.*?)\*\//
When I try
myStr.gsub(multiline_comments, "")
|
thread by: BenBronson |
last post Jul 31 '07 by: beatTheDevil
Hello - As stated above, I'm new to Ruby and all programming. I'm trying to learn as much as I can, but continue to hit roadblocks. I borrows the Pickaxe from a friend, and have looked at a few online tutorials, including the one by Chris Pine. It seems that for someone brand new to programming, they skip over some things that leave me hanging...
|
thread by: robbx |
last post Jul 25 '07 by: aneeshkb
Hy guys I got an error trying to install Rails on Windows XP /SP2
C:\rubydev\ruby>gem install rails --include-dependencies
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
getaddrinfo: no address associated with hostname.(SocketError)
I have these Software Installed already:
-- Apache Web Server
-- MySQL 5.0
|
| |
thread by: ryt2aamir |
last post Jul 19 '07 by: ryt2aamir
Hi. I've been trying to play with this for a while now but I haven't seemed to get it to work. I have a admin controller, which is scaffolded, to input the lat and long along with info. I have a restaurant controller that will display the map with the points. I can get the map to show but the points do not show.
Code: ( text )
class...
|
thread by: sacksey |
last post Jul 19 '07 by: ryt2aamir
Hi. I've been trying to play with this for a while now but I haven't seemed to get it to work. I have a admin controller, which is scaffolded, to input the lat and long along with info. I have a restaurant controller that will display the map with the points. I can get the map to show but the points do not show.
class CreateRestaurants <...
|
thread by: krishna kishore |
last post Jun 29 '07 by: krishna kishore
hi ,
i am trying to implement a functionality where in we need to record a audio using microphone . i believe "flash communication server" should be used for the purpose ...i would like to take the views on using "flash communication server" in Rails application
thanks
kishore
|
thread by: unnikrishnanes |
last post Jun 28 '07 by: unnikrishnanes
I am new to ROR.
I Have ruby and instant rails installed in my system(I am using Windows). I have created an application 'railslist'
But when I tried to generate a controller
I got the following error
------------------------------------------------
|
thread by: icepoint |
last post Jun 14 '07 by: improvcornartist
Hey everyone,
Can anyone tell me how to make dynamice drop down lists for country and states? I have the models for country and states build and have the country drop down list worked, so how can I make the state list changes corressponding to the change of the country list? etc. Canada -> only canada provinces... Thanks
|
thread by: hrushikeshmohanty |
last post Jun 1 '07 by: hrushikeshmohanty
Hi All,
I am very new to this selenium tool. Is there any one can just tell me in what way I can proceed so that it will be easy to learn this tool.
Thanks.
|
thread by: pravinda |
last post May 29 '07 by: jonathan184
Hi, I want to learn Ruby/Rails so any body can help me out ??
|
thread by: jonathan184 |
last post May 29 '07 by: jonathan184
how to connect to an existing oracle DB.
I just wanted to generate the code ont he exisitng db so it will connect and detect everything, I do ntoo want to create a new db or fields and so on. Could somebody help me with this please.
|
| |
thread by: vanipuranam |
last post May 21 '07 by: vanipuranam
When the user presses "Enter" from the keyboard instead of clicking the "Go" button I would like to have the code that would have run by clicking the button work the same way when they press the Enter key.
|
thread by: jcampbe43 |
last post May 14 '07 by: jcampbe43
Does anyone know of a way to do keyword searches on documents in a
filesystem with something similar to Oracle's Context package .. with
mySQL/RoR's? I do this now with a Java/Oracle (Context) solution where
the files are indexed and can be keyword searched. I have another
problem where I want to use RoR (and whatever else) to do the same...
|