569 Topics

Member Avatar for
Member Avatar for Japus

Hello I'm trying to create a cross platform application to control a robot. Everything went relatively easy but I got stuck when trying to set a few properties that are Mac specific. They use the 'com.apple.eawt' package which obviously isn't available on Linux or Windows. I need to set the …

Member Avatar for mKorbel
0
260
Member Avatar for imon214

how to populate select box depending upon the selection of the radio button on rails anyone knows what will be the possible ajax and rails script for populating dropdown list values based on selected radio button on rails 3 example there are two type of platform choices(windows, unix) of radio …

Member Avatar for Taywin
0
1K
Member Avatar for Xemintirre

Hello - I'm fairly new to RoR, and after installing version 2.3.9 and trying to run a sample app, I get the errors below. I've been trying to find solutions for the past two days, but no luck. Has anyone run across this error before and/or know how to resolve …

Member Avatar for Taywin
0
123
Member Avatar for rtk1865

Below is the ERB for a new 'To-do' view. Duedate is another table that holds date objects, and there is an association between duedates and todos with a 'duedate_id' in the todo table. Right now there is just a dropdown for any externally created duedates. While creating a new todo, …

Member Avatar for Taywin
0
142
Member Avatar for bvrclvr1

I am writing a cgi script to pull the contents of a .txt file in the cgi-bin directory into the body of an html file and can't seem to figure it out. eruby seems to be a solution, but I can't tell if it's to be used with Rails or …

Member Avatar for Taywin
0
103
Member Avatar for ayoitzrimz

Hello everyone, I'm in a bit of a rut and was hoping to get some perspective from professionals in the field (who have been through this before). So here's my (very brief history): [LIST] [*]BA from a city school in Economics [*]1.5 years as a quality assurance analyst at a …

Member Avatar for chrishea
0
313
Member Avatar for Derek Elensar

Hello, my name is not Derek Elensar, but I prefer not t reveal my real name onlin if I can help it... so you can just call me Derek. :) I am a beginner C++ programmer. I'm trying to learn Ruby, but haven't gotten far, as I haven't had much …

Member Avatar for Derek Elensar
0
131
Member Avatar for chrisglasier

I have made a couple of preliminary versions of a web machine as an HTA and as a web dialog plug in for Google's Sketchup. The machine has moving sliders (hence machine) that get populated with names of real objects in a hierarchical structure set by the user's associations e.g. …

Member Avatar for chrisglasier
0
254
Member Avatar for ChaosKnight11

Hi, I am running Ubuntu 10.04 LTS, and wanted to install RVM today, I used: bash < <( curl [url]http://rvm.beginrescueend.com/releases/rvm-install-head[/url] ) (NOTE: I already have git-core and curl, etc.) After running that command I get the output in terminal from Wayne, and I added: if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; …

0
162
Member Avatar for braj1999

I am facing a similar problem where we have to compare two strings. I applied the regex to match it and it works fine for the string which dont have space between. However in case the matching string containg space, then its failing. Please let me know how to tackle …

Member Avatar for b1izzard
0
61
Member Avatar for BenzZz

Hello world... xD Now the bad joke's over, I'm Ben, currently halfway through my second year at university studying BSc Hons Computer Science. Thought i'd join these forums as they appear friendly and helpful to those with any IT related problems so maybe i can get some help here in …

Member Avatar for debasisdas
0
134
Member Avatar for jordan0420

i am able to get the metasploit console started however when i try to open armitage for a gui as i am currently learning the process of penetration testing to secure my home network, i get the message[CODE=Bash] ./armitage:18:in 'exec' : No such file or directory - java (errno:: ENOENT) …

0
84
Member Avatar for gioe

Hello everyone, I am a newbie (started learning ruby 3 weeks ago) :icon_redface: and I can not get out from this comiling error. when I try to run this sample program: [code] #!/usr/bin/ruby # ZetCode Ruby GTK tutorial # # This program centers a window on # the screen # …

Member Avatar for gioe
0
732
Member Avatar for chris.gogreen

Hello Everyone, I just started to learn Ruby last Friday! Awesome right? I want to learn to build web application and heard Ruby was a good language to learn with, so that's what I started with. Are there any Ruby web application developers with advice for a noob on a …

Member Avatar for pablouin
0
40
Member Avatar for jember

What is the best IDE that I should use to make a program using Ruby Language? And where can I download it for free? I'm self studying. :)

Member Avatar for kvprajapati
1
192
Member Avatar for benjaminFowl87

Hi I have my initialise constructor, why won't my function to_hash work ? [CODE]def initialize(msg) @original_msg = msg.strip.delete(' ') s = ["|","^"] @chunked_msg = @original_msg.split(s[0]) @msg_hash.self.to_hash end def to_hash @chunked_msg.each do |x| s = x.split("=") @msg_hash[s[0]] = s[1] end return @msg_hash end[/CODE]

Member Avatar for benjaminFowl87
0
98
Member Avatar for gunbuster363

Today I tried to write a vba macro with the vba editor in excel to perform some stupid and time-consuming job. but then ,after 2 hours trying to write the macro in vba, I found that I don't know how to write vba, and the tutorials is not completed in …

Member Avatar for peter_budo
0
140
Member Avatar for kishang09
Member Avatar for kvprajapati
0
92
Member Avatar for jhonnatas

hi guys i need some help,i have installed ruby 1.91+rails 3.0+radrails 0.7.2 bu twhen im using the radrails it cant start the server it keeps like: "starting the server" and it never works! rails path: C:\Ruby192\bin\rails rake path: C:\Ruby192\bin\rake it says it cant load script/server thanks

Member Avatar for 3magic
0
141
Member Avatar for gisek

Hi, I encountered a problem with threads in ruby. I created such a script: [CODE] require 'thread' def func $i = 0 while true $i += 1 $file.write("bbbb\n") Thread.pass end end def func2 $j = 0 while true $j += 3 $file.write("aaaa\n") Thread.pass end end def funcTerm while true a …

0
75
Member Avatar for nullSpace

Im trying to add new records to my joins table. but when ever i click my link to do so i get this error [QUOTE]uninitialized constant Channel::UsersChannel[/QUOTE] here is the code [CODE] <%= link_to "Subscribe to Channel", subscribe_path(channel, current_user) %>[/CODE] [CODE] def subscribe @channel = Channel.find(params[:channel_id]) @user = current_user @channel.users …

0
113
Member Avatar for Varnius

Hello. Me and some of my friends at college were assigned a practical task of developing a net application for optimization of cutting rectangular parts from some kind of material. Something like apps in [URL="http://www.freedownloadmanager.org/downloads/cut_optimization_software/"]this[/URL] list, but more simplistic. Basically, I`m interested if there is any source code for this …

0
91
Member Avatar for gunbuster363

Hi guys, microsoft installed many things on my computer and most of them I don't know what they are. It make me feel so sick. I want to know what are they ( if anyone know ) and are they must be installed. Many thanks. Here is a list of …

Member Avatar for caperjack
0
505
Member Avatar for gunbuster363

I've learn python and I won't say that I know it all, but I won't see anywhere except google will use python. New programming language like python and ruby, do they have space to grow?

Member Avatar for convoluted
0
309
Member Avatar for Clawsy

Hello, I use Ruby with Sinatra in my application and I need to store a big data (exceeding 4K) in my session or somewhere secude on the server because I do some API calls and I refer to that data very often and that's why I need it stored. The …

Member Avatar for Clawsy
0
420
Member Avatar for ChaosKnight11

Hi, I want to start preparing for an IT Olympiad for next year for a chance to get a full bursary for college. We can choose between Java, Python, C and C++. Of the lot I'm most comfortable with Python seeing that I at least have a bit of experience …

Member Avatar for woooee
0
186
Member Avatar for Agent Cosmic

I want to build a large scale web application but I'm torn between the three. The main points I'm looking for are productivity, speed, hosting, community, scalability, learning resources and technology (AJAX, database, threading, MVC etc). Here are my impressions of them: [B]PHP:[/B] de facto for web development, big community, …

Member Avatar for nonshatter
0
71
Member Avatar for dammmm

Hello, I am looking for some fullscript/CMS ready-made which would help me to see how to articulate and merge ruby/html/MySql. I allready worked on these different languages but have difficulties into merging all of them togheter to create a website. I thank you in advance, Damiano from Nicaragua! :)

0
68
Member Avatar for overlook

Greetings, I am trying to allign horizontal between this two submit button, but I do not understand how to do it, this codes below will show two button (submit1) and (submit2), but located vertically. I need to allign it as horizontal so submit2 button is located horizontally next to submit1 …

0
75
Member Avatar for asimzeeshan

I am running CPanel and recently discovered that I can install RubyonRails there too ([url]http://docs.cpanel.net/twiki/bin/view/AllDocumentation/RubyonRails/WebHome[/url]) I have the new icon RUBY ON RAILS in my CPanel (after installation following the instruction from the link above). Now when I create a test application, it runs OK but when I click on …

Member Avatar for gacela
0
289
Member Avatar for empyrean

Hi.. i have imported a excel in to datatable which contains 5 columns and some thousand rows. I have to do two level validation. First i have to check whether the column belongs to specific datatype. If so, then i need to check each and every cell in that column …

Member Avatar for anoncodemonkey
0
972
Member Avatar for laddu2098

[COLOR="Green"]hello every one hi i am new to daniweb i think i will find a solution in daniweb. hi i wanted to change my php melody1.6.4 url structure my url structure is like this [url]http://example.com/frozen/frozen-2010-movie-video_1c4063b5a.html[/url] i wanted to change it to like this [url]http://example.com/frozen/frozen2010movie/1c4063b5a[/url] i have spent my valuable time …

Member Avatar for laddu2098
0
180
Member Avatar for Mysteri

Hi, I'm a web developer and wanted to try ruby. I installed ruby 1.8 on my debian server with eruby and mod_ruby for apache2. Apache config files are configured correctly to accept .rhtml files and parse them. If I type sth like <% print "Test" %> then there's no problem, …

0
92
Member Avatar for SWEngineer

I have a view file, "show.html.erb", and a Javascript file, "coordinate.js". In coordinate.js" I have methods to calculate the width and height of an image. How can I call those methods on the "Canvas" in my view. And, below you can find the scripts of the two files: [B]* show.html.erb[/B] …

Member Avatar for SWEngineer
0
97
Member Avatar for thiliniss

I like to learn Ruby.but I didnt use it.I have already used as J2EE.I dont know about Ruby?What is this Ruby??????

Member Avatar for zark_yoc
-2
79
Member Avatar for hassancool

Hi there...... I have received a domain from a customer which is showing me very strange things..... When I tried to login via FTP it showed me empty directory.... The server is apache and when I try to login via cpanel it gives me this error "Not Found The requested …

Member Avatar for Excizted
0
152
Member Avatar for alexgv14

[url]http://keyonary.com[/url] When you search for something like paste all of the keyboard shortcuts slide up on your browser. I know its making a ajax requested and then using jquery for the effect. BUt how is it done. Is there a plug-in or anything in ruby that is similar.

Member Avatar for Excizted
0
62
Member Avatar for mroberts50

A number of different server-side programming languages are available. Which one of these languages is NOT one of these? PHP, Java, Ruby on Rails or ASP?

Member Avatar for Triztian
0
80
Member Avatar for tiger86

This is not an advertisement, this is purely a thread telling people about resources that I've found, well resourceful. For those who are stuck with Ruby on Rails or need to learn the basics you should check out the free videos by Ryan Bates at [url]www.railscasts.com[/url], they've helped me a …

Member Avatar for tallship
0
415
Member Avatar for Jothe

Hi people, am trying to start a ruby on rails project, however i only know a bit of ruby but nothing on rails.So does anyone who can point me to the right locations for Good resource material either site or books would be highly appreciated..

-1
68
Member Avatar for stilllearning

I am really new to this, so please excuse me if this is a dumb question. I am saving some data using ruby on rails and one of those fields is a background for the divs I am rendering back on load. I created the partial layouts successfully but I …

Member Avatar for blocblue
0
115
Member Avatar for pathikhobo

hello people, i'm new here in Daniweb and very much interested in web development(Specially php,mysql,ajax based web applications). I know HTML and CSS, but don't have any past experience in any scripting/ programming language like javascript or c(though i know basics of C), java etc. Some of my friends suggested …

Member Avatar for richman_tck
0
264
Member Avatar for alexgv14

My observe field doesn't do anything any idea why. [CODE]<%= observe_field 'keyword', :frequency => 0.5, :update => 'results', :loading => "Element.show('.spinner')", :complete => "Element.hide('.spinner')", :url => { :action=> 'search_results' }, :with => 'keyword' %> <%= form_remote_tag :url =>{ :action => :search_results }, :update => "results", :loading => "$('.spinner').show()", :complete => …

0
100
Member Avatar for Jothe

hallo people, i want to start learning python and ruby for some projects i have anyone who knows a good resource site or books for this two languages. any books and where i can get them will be highly appreciated thanx in advance

Member Avatar for anurag mishra
0
109
Member Avatar for alexgv14

I am working on a search function on RoR that basically just has a cool visual effect when a user clicks the search button. Here is the code in my view for search.rhtml [CODE]<html> <head> <title>Tutor</title> <%= javascript_include_tag :defaults %> </head> <body> <h1></h1> <%= form_remote_tag :url =>{ :action => :search_results …

0
139
Member Avatar for alexgv14

[url]http://keyonary.com[/url] When you search for something like paste all of the keyboard shortcuts slide up on your browser. I know its making a ajax requested and then using jquery for the effect. BUt how is it done. Is there a plug-in or anything in ruby that is similar.

0
50
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 sheldonrobinson
1
59K
Member Avatar for Member 785602

I've just upgraded an existing app from Rails 1.2.5 (Ruby 1.8.5) to Rails 2.3.8. There were several issues to the upgrade including finding and installing a good MySQL gem (dll in my case). This app worked fine on Rails 1.2.5 but I needed to upgrade for security concerns. There are …

0
71
Member Avatar for amirsanaii

Hi every one I need some document to start ruby-lang. I know object-Oriented, and now need some good and complete reference to start this language. please give me a good advise so thanks to my Friend Best Regards Amir :)

Member Avatar for b1izzard
-1
88
Member Avatar for johndoe444

problem with this code: [CODE]parseIcmPage url, '<ul id="topListFilter"', '<div id="footer">' def parseIcmPage(url, start_point, end_point) data = getHtmlPage url s = data.index(start_point) e = data.index(end_point, s) len = e-s list_str = data.index[s, len] puts list_str, '\n' end[/CODE] [CODE]icm.rb:42: warning: don't put space before argument parentheses ./util.rb:121:in `index': wrong number of arguments …

Member Avatar for craiggles
0
231

The End.