569 Topics

Member Avatar for
Member Avatar for stevanity

IM new to Ruby and RoR. I have very less prior experience with web techs. I know how web works and worked with pre coded php code (edited em)... and ran websites with template scripts and wordpress cms. But never built em on my own. Now I wanna learn a …

Member Avatar for Rashakil Fol
0
75
Member Avatar for monica23

hi everyone, i need to print error message if ID is greater than 1 and log user in if username is correct and display error message if the username is wrong. the code print error message if id is greater than 1 and it authenticates user if correct username is …

Member Avatar for L7Sqr
0
116
Member Avatar for raheel_88

I would like to place a footer at the bottom of my DHTML web page. The simple footer tag doesn't do what I want because the text in the footer is simply placed underneath the current text on the web page. What I want s for the footer to stay …

0
111
Member Avatar for monica23

Good day everyone, i need to print error message if id or row[0] is greater than 1 and a welcome message if name is correct and error message if the name is not correct. what my code does is that it prints out error message if id or row[0] is …

0
77
Member Avatar for monica23

Hi everybody, in my database, am trying to print the value of total and then add it to the price, i was able to fetch the value of total but when i tried to add it to to price so as to get value of sum in this line of …

Member Avatar for monica23
0
113
Member Avatar for raheel_88

Hey all, I have the following HTML, adapted from a more complicated one I'm creating; [CODE] <HTML> <HEAD> <SCRIPT TYPE="TEXT/JAVASCRIPT"> function setup(ans) { lit = '' if (ans == 'anim') { lit = '<br><br>How many legs? ' lit = lit + '<SELECT NAME="q2" ONCHANGE="print(document.quest.q2.value)">' lit = lit + '<OPTION VALUE="">- …

Member Avatar for raheel_88
0
176
Member Avatar for JustmeVSI

Hi guys. I'm feeling frustrated and stressed because I do not know what to write in my documentation for my final exam. I wonder if any one can give me some ideas. I will be really grateful. Background: I'm finishing a bachlore in Software development and my final project hade …

Member Avatar for ChrisHunter
0
133
Member Avatar for stevanity

Im a college junior. Ive got fairly good experience with C++, C#, and Java SE. But I dont have any experience or knowledge in the web application side of things. I really want to add one technology to my skill set. I donot know Php well. All I know is …

Member Avatar for Rashakil Fol
0
137
Member Avatar for erogol

I am currently developing a search engine and I have some implemented algorithms that are written in Java but also I need to get some Database communication which is easy thing in Ruby an Rails. Thus, Is there any way to use both language in the web application development Regards …

Member Avatar for SoldierCoder
0
148
Member Avatar for raheel_88

Hi guys, I've got the following, very basic, working DHTML; [CODE] <HTML> <HEAD> <SCRIPT TYPE="TEXT/JAVASCRIPT"> function setup(ans) { lit = '' if (ans == 'anim') { lit = '<br><br>How many legs? ' lit = lit + '<SELECT NAME="q2" ONCHANGE="alert(document.quest.q2.value)">' lit = lit + '<OPTION VALUE="">- Please select -</OPTION>' lit = …

Member Avatar for raheel_88
0
271
Member Avatar for ai70

I´m at the very beginning with Ruby and give again and again this error program.rb:6:in `gsub': broken utf-8 string (argumenterror) when I'm trying this short code: [CODE]#coding:utf-8 temp="" txtfile=File.open("8-3_tiedosto.txt","r");txtfile.each{|row|temp=temp+row};txtfile.close temp = temp.gsub("Ã…", '') puts temp [/CODE] How to fix the code, as my environment does not allow to change the …

Member Avatar for L7Sqr
0
70
Member Avatar for badnack

Hi at all, i've already introduced myself in another post, but since this is the right section i'm going to do this another time. My name is Nilo Redini, i'm 25 years old and i come from Pisa. My main hobby is programming (c/c++, java, php and in recent times …

0
39
Member Avatar for pradnya_pawar

this is the following error : C:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead. C:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.2.2/lib/rails_generator/generators/a pplications/app/app_generator.rb:6: Use RbConfig instead of obsolete and depreca ted Config.

0
81
Member Avatar for Azmah

I'm looking at learning Ruby (including Ruby On Rails) or Python (Including any of its frameworks - though which is better?). What are the pros/cons of each? Thanks in advance.

Member Avatar for Azmah
0
191
Member Avatar for ffakih08

I want make a competitive study of language paradigms for my thesis .I want work with languages similar in intentions but different in paradigms ..... My initial plan is to work with Perl ,Python, Ruby any help with materials will be greatly appreciated .

Member Avatar for vadriaan
0
141
Member Avatar for xfbs

Hello everyone! I am Pat, I am currently 16 years old and I've been programming for 4 years. I started with PHP, then Python, then Ruby and currently I am programming in C++ with the awesome Qt framework ;). I hope to learn some new stuff here and meet like-minded …

0
46
Member Avatar for Amr87

Hello Everyone, I`m a PHP developer, These days I`m thinking seriously about learning ruby , but I`m not sure if it gonna add to my knowledge , so i have few questions about it and hope that a ruby specialist will answer me 1- Do I need to learn ruby …

Member Avatar for Amr87
0
375
Member Avatar for tape enterprise

I have tried everything I could see on google about this problem: " You are trying to install in deployment mode after changing your Gemfile. Run `bundle install` elsewhere and add the updated Gemfile.lock to version control. If this is a development machine, remove the Gemfile freeze by running `bundle …

Member Avatar for Taywin
0
94
Member Avatar for LMHmedchem

I have an unusual situation where I had a hard drive with some bad sectors and moved the data to a new drive. I did the move with cp -Rfp and >& logfile. I moved the data (~285GB) with about 20 copy commands. The >& should have given me information …

Member Avatar for L7Sqr
0
168
Member Avatar for Arcrammer

Someone please explain Ruby to me. I've already used tryruby.org and I really like it. I'm fifteen years old and I am going to be a Web Designer and Developer. I can code HTML and CSS almost professional and I can code PHP fairly well. I want to learn Ruby …

Member Avatar for cwarn23
0
221
Member Avatar for sitaram123

Hello Friends... Basically i am a Freelance Web Developer with extensive experience in design & development using Ruby on Rails, Python, PHP, Flex, Django and Drupal including complex Python ,Django/Postgress bug Rectification, Android and i OS development Also I am doing experiments in HTML5, Scala,Haskell and Erlang. Recently Twitter had …

Member Avatar for Onlineshade
0
197
Member Avatar for TheHaxx0r1215

Alright, I have a members area, area.php, and I used mysql to find the userlevel and display content depending on the userlevel, 1 for user, 2 for admin. I made it, but it displays both the user and admin for 1, and 2. [CODE]<?php // Members Area // session_start(); $usernamee …

Member Avatar for kanchana Mala
0
251
Member Avatar for wlayy999

Recalling the history of Web development, Web development language used more and more simple, rich. This CGI from the previous C-class, the development of ASP, PHP, ASP.NET, JAVA, we can more easily develop more complex applications, coupled with the development of the IDE, you say you can make a Web …

Member Avatar for peter_budo
0
73
Member Avatar for amiref

I am beginner in ruby and I use ruby 1.9.2 in windows 7. I have a problem with installing gems.for example : 1 - when I typed gem install RedCloth , command prompt give this error: " ERROR: Error Installing RedCloth: invalid gem format for C:/Ruby192/lib/ruby/gems/1.9.1/cache/RedCloth-4.2.7-x86-mingw32.gem " 2 - and …

Member Avatar for Taywin
0
115
Member Avatar for Rahul V S

Hi, I am about to create a web based application, using only free web technologies like Ruby on Rails or PHP. But its a bit hard for me to finalize on a free / open source database management system, that will help in performance, scalability, portability and easy hosting. I …

Member Avatar for griswolf
0
810
Member Avatar for The_Havoc

Hello, I have problem with border - background-image( IE ) Please look photo -> [URL="http://img221.imageshack.us/img221/222/78004934d.jpg"]http://img221.imageshack.us/img221/222/78004934d.jpg[/URL] -> This is Internet Exploler 7. This is FF -> [URL="http://img651.imageshack.us/img651/7637/21285970.jpg"]http://img651.imageshack.us/img651/7637/21285970.jpg[/URL] . This is okay. where is my problem for Internet Exploler. Thank you. [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>tekst</title> <style> html, body, div, …

0
44
Member Avatar for braj1999

I am working on RHEL 5. I have to build a web automation framwork using Ruby. when I am trying to read a XML file using Chilkat ruby I am getting following error. Ruby code where I am getting the error. require 'rubygems' require 'Chilkat' ... ... xml = Chilkat::CkXml.new() …

Member Avatar for braj1999
0
217
Member Avatar for braj1999

I am working on RHEL 5. I have to build a web automation framwork using Ruby. when I am trying to read a XML file using Chilkat ruby I am getting following error. Ruby code where I am getting the error. require 'rubygems' require 'Chilkat' ... ... xml = Chilkat::CkXml.new() …

0
44
Member Avatar for Tupinambiss

I'm getting a mismatch error and I've looked up why it would appear and I'm confused because what I'm doing doesn't match the error cause. Plus I've followed the instructions from a guide that I'm using. The code on irb... >> class Cat >> attr_accessor :name, :age, :gender >> end …

Member Avatar for L7Sqr
0
205
Member Avatar for projecttoday

I would like to know if there is any way you can go to any web site on your computer and know what it was developed in, like PHP or ASP.Net or Ruby or whatever, just from going into the sight. If not, are there clues that might point in …

Member Avatar for digital-ether
0
92
Member Avatar for jenna123

[CODE] class Generic @@router='' @@digit='' @@data='' def initialize(str) @str=str end #def seperate # @str="434 <user;password>##ROUTER=BROKER_NAME##" #puts @str.split() def digit @digit=@str[0,3] puts "Digit Part: " +@digit end def data @data=@str[/<[a-z]*;[a-z]*>/] puts "Data Part: " +@data end def router @router=@str[/##[A-Z]*=[A-Z]*_[A-Z]*##/] puts "Router part: " +@router end end class Sub < Generic end …

Member Avatar for L7Sqr
0
80
Member Avatar for Manak

Hello all, I wanted that a particular user can login only 1 time in a day and his details are updated in the table.Can anyone help me with it. my login method is [CODE]args = params[:user] @user = User.find_by_username(args[:username]) if @user && @user.password == args[:password] session[:login] = @user.username redirect_to( :controller …

0
70
Member Avatar for kvass

Hey everyone! I was recently introduced to Ruby and am trying to learn it by working my way through the Ruby on Rails 3 Tutorial, but I got a little stuck on autotesting. The guide says that for Windows I should install "Growl for Windows," which I did, and then …

0
149
Member Avatar for baby_c

Hey friends ..I need a help.. I want to know that to learn oop concept is RUBY language good...? we have to choose between RUBY and OCAML. Please can anyone explain a bit..Thanks in advance

Member Avatar for jwenting
0
104
Member Avatar for Dannis86

Sorry if this is a stupid question, but I'll take the crap for what its worth. Im really asking myself every day the same question: What programming language should I learn? I really need to clear some things up, first of all some questions: 1. Ruby on rails, I hear …

Member Avatar for Stefano Mtangoo
0
289
Member Avatar for n3red

Hi, i am still learning i want to make a simple shell script. I wish to make a function that will receive 2 arguments (two dates) and will return all users who logged in during that period, how many times and how long were they logged in. I wish to …

Member Avatar for griswolf
0
364
Member Avatar for hjames

[QUOTE=~s.o.s~;610914]> how to make div id's as unique (since it need to identify a unique div for each row) One way would be to create a separate counter (e.g. i) which would be incremented for each "for each" block and create an ID dynamically by appending the common name with …

Member Avatar for rpv_sen
0
104
Member Avatar for benjaminFowl87

Hi My problem is. I'll break down the problem to make it clear. [CODE] <html> <head> <body> <!-- ajax call that opens a jQuery UI Dialog box --> <a href="#" onclick="$.ajax({beforeSend:function(request){$('#onboarding_accounts').show();}, complete:function(request){$('#onboarding_accounts').hide();}, data:'', dataType:'script', type:'post', url:'/proxy/account/load_create_account?method=get'}); return false;">Create New Account</a> </body> </html> [/CODE] It should be noted that the dialog …

Member Avatar for benjaminFowl87
0
1K
Member Avatar for Trilby1992

Hi I'm trying to make a friend request feature like in a social networking site and I've been getting this Unknown Attribute error whenever I try to request a friendship with an another user. [url]http://s1042.photobucket.com/albums/b429/Kevin_Tang/?action=view&current=unknown_atrribute.png[/url] And this is the code of the friendship controller. [CODE]class FriendshipController < ApplicationController def req …

Member Avatar for Trilby1992
0
202
Member Avatar for michelle1

Hello, 2 hours later and Good Monday is loosing it's "good'ness"!! :) I need to make the first string below into the second string, that is only single white spaces are permitted so multiple white spaces (shown as "____" in the text below) must be replaced. "1/4 WELDING______LEVER____FRONT DRW_____14844-C__MAT____WMA1CM-WLFRONT" [B]into:[/B] …

Member Avatar for michelle1
0
90
Member Avatar for kingarthur

Hi there, to strengthen my skills, i want to write a small bot, crawling some pages and aggregating the content for an RSS Feed. i think, this shouldn't be a problem at all, but i'm not sure, which technology to use. the easiest way would be (imo) to write a …

0
48
Member Avatar for lolmaus

Windows console works with the CP866 encoding. So input and output should be redefined to CP866. This thread [url]http://www.ruby-forum.com/topic/184730[/url] suggests a nice solution: [CODE]Encoding.default_external = Encoding.find(Encoding.locale_charmap) Encoding.default_internal = __ENCODING__ [STDIN, STDOUT, STDERR].each do |io| io.set_encoding(Encoding.default_external, Encoding.default_internal) end[/CODE] And it works. The text is now correctly displayed in Windows console. But …

0
90
Member Avatar for G_S

Hello everybody I have a question: is it possible to compile ruby files into bytecode. Does ruby have something like .pyc files? I found some discussions online about generating .exe's from ruby files, but what I want to know if it is possible to compile .rb files just like you …

Member Avatar for G_S
0
159
Member Avatar for amirsanaii

Hi every one How are you my friends? I need your help I began to programming ruby for 2 weeks and now i want to work on ruby on rails and of course i need a good DBMS, so i decided to use a SQLServer for my work but with …

Member Avatar for waysys
0
229
Member Avatar for wilch

Hi All I am looking for a new language to learn and add to my language set that already contains PHP & C# in much depth. Ruby is one language i was thinking of learning. Can you guys please give me practical uses and/or applications that use/may use Ruby. I …

Member Avatar for snippsat
0
278
Member Avatar for jack jastin

Hello Everybody Can anyone tell me, What is Ruby basically? Thanks in advance.

Member Avatar for jack jastin
0
113
Member Avatar for chrishea

[URL="http://www.appcelerator.com/"]Titanium[/URL] is an open source package that brings a bunch of development options together into one place. It allows you to take one set of code and deploy it on: [LIST] [*]Windows [*]Linux [*]Mac [*]Android [*]Iphone [/LIST] Even better, you don't need to learn a new language. The development is …

Member Avatar for smantscheff
0
144
Member Avatar for borg.stef

So I want to import a model and then take it to particular x and y coordinates in sketchup. I had to do this in 2 different programs since the model had to be selected before taken to the coordinates. The programs are shown below: machine = "trial.3ds" model = …

0
78
Member Avatar for rohitrmehta

Hello, I have a project on hand. I have to build a portal. I am basically a UI person which development skills. Which technology is better for portal development? PHP vs java vs .net vs Ruby? Also if there are any developers with experience in portal development, Give me a …

Member Avatar for Rashakil Fol
0
145
Member Avatar for Wolfemann

Greetings all, I've just started learning Ruby (and Geo Ruby), and am trying to create overlays for Google Maps. I found a [seemingly] great tutorial for doing this [B][URL="http://blog.newsplore.com/2009/02/22/spincloud-lab"]HERE[/URL][/B] ...and it uses Ruby to generate the final javascript - cool, eh? Have everything installed properly (as far as I can …

Member Avatar for SundayForever
0
325

The End.