569 Topics

Member Avatar for
Member Avatar for akvarel1

I was following RailsCasts tutorial JQuery Uploading and I ran into difficulties. I would like to be able to select several files, preview only the name of the files on the website, remove those, which where selected by mistake and only then upload the neccessary ones in Ruby on Rails. …

Member Avatar for akvarel1
1
302
Member Avatar for BrackishWater

I've been using Ruby and Rails and other ancillary technologies for a few weeks now. I've gone through many articles, blogs, tutorials, et al. However, I've rarely found any downloadable "working examples" or "real-world applications". Everything is very basic and it's proven difficult to learn beyond the basics. It could …

Member Avatar for Taywin
0
117
Member Avatar for DanOath

Write a program that will print a two-column ASCII table for both lowercase and uppercase letters and the digits 0-9.

Member Avatar for Taywin
0
142
Member Avatar for pritaeas

Recently bought "Regular Expressions Cookbook 2nd ed." and wanted to share my findings. The book is divided into two parts. The first part (3 chapters) describes tools, skills and programming. The tools chapter shows you what's out there (including his own software). The skills chapter is a tutorial. It describes …

Member Avatar for pritaeas
1
251
Member Avatar for TrustyTony

Because of [the course](https://www.edx.org/courses/BerkeleyX/CS169.1x/2012_Fall/about) I think to take to improve employment changes by SaaS, Ruby and Rails and basic agile techniques, I looked little the Ruby forum. Unfortunately it seemed in quite a sorry state some months old questions unanswered. Even there was a related article from one of them …

0
99
Member Avatar for asaidi

Hi i m trying to find which framework is robuste and fast to learn is it cakephp or ruby...

Member Avatar for lambing
0
69
Member Avatar for M.S.

How the following code can be rewritten in a better way? #!/usr/bin/env python """Simple program for finding popular names over last 100 years, in response to vegaseat's last post in Projects for Beginners(9/1/2012). It first lists the popular names and then search for entered name by user""" oldnames = """Mary,Helen,Margaret,Anna,Ruth …

Member Avatar for vegaseat
2
273
Member Avatar for rajeesh_rsn

Hi friends, I m a PHP programmer and I likes to learn Ruby . But I had stucked ( Really Became Mad ) with installing ruby on Rails in my System .. Googled a lot ... but it is installing Ruby 1.8 & Rails 2.3 ... Please Help me .... …

Member Avatar for noel.gallagher.jr
0
134
Member Avatar for brynFlew

Hello, I am having trouble finding a good tutorial on how to install eclipse with aptana radrails on centos, when i try to install radrails in eclipse using the instructions givin here ([aptana](http://www.aptana.com/downloads/start)), i get these errors. Can someone point me in the right direction? Thanks :) An error occurred …

Member Avatar for Taywin
0
296
Member Avatar for troca

Hello, I'm struggling to make a join between tables work on a non-standard schema. I know the proper way of doing it would be migrating the schema and using the ActiveRecord convention but as long as I'm using this to consume data for testing purposes, that's not an option. The …

Member Avatar for troca
0
185
Member Avatar for Ritesh_4

Hello, anyone can help me with parsing an html table data to be saved directly in an excel file from the same parsing app?

Member Avatar for Taywin
0
225
Member Avatar for aldm

Hi, I'm working on rails project where I use json file for storing some data. Basically data are stored and get using ajax calls from jquery. But there are some strange issues. For example, when I add data in json file using AJAX and then open file in Chrome: localhost:3000/example.json …

0
132
Member Avatar for stevanity

Im from Chennai, India. And my university is Anna University. Our results are published in their website and in couple of others. Our college staff go into each url for each student and copy marks and do analysis stuff. Im working on a project to help them do it automatically. …

Member Avatar for pritaeas
0
251
Member Avatar for stevanity

Hey guys. Im designing a web app with rails for storing and analysing college students' marks. Ive come up with a database design like this: ![First](/attachments/large/3/First.png "First") Now IM not sure how to set the associations. Can you please help me? And is the design ok?

Member Avatar for stevanity
0
115
Member Avatar for laura301019

So i need to write or modify javascript code i think, for what i want to do. The web page im developing displays a table with two arrows beneath, one to go show next and one to show previous. I need the show previous arrow to display an alert box …

Member Avatar for Taywin
0
690
Member Avatar for Ritesh_4

Hello, anyone can help me with how to build a simple user registration form using Rails from scratch, with the fields Login Name, Name, Address and Password (encrypted)? I will be using MySQL to host the database. I've already created the new project using: rails new reg_form, now what next??

Member Avatar for lambing
0
120
Member Avatar for PrometheanSin

after pulling my hair out with this one, I'm afraid I'm going to have to turn the knowledge of those much wiser.....again! ok so here's the problem, I am following the following two railscasts: [deploying to a vps](http://railscasts.com/episodes/335-deploying-to-a-vps?autoplay=true) [asset pipeline in production](http://railscasts.com/episodes/341-asset-pipeline-in-production?autoplay=true) My setup: Ubuntu Server 12.04 nginx unicorn ruby …

Member Avatar for PrometheanSin
0
746
Member Avatar for emtw

Hi, I've been working with Ruby on Rails to make a web application, but I've found something that I really cannot work out how to do with it, so it may be best if I do it manually. Basically, I've got a dropdown menu, that is populated with a list …

0
105
Member Avatar for niallpaterson

Hi, I've never used bash before, but am creating a file. Here's the skelton: while read line; do if [ -e "$line" ] then else cat > $name << EOF EOF cat > rails << EOF EOF fi command $name & done < projects.txt The error is: "line 55: syntax …

Member Avatar for Watael
0
222
Member Avatar for filolozka

Hi all the Ruby Folks! Use your skills for the sake of the OpenSource community, and try out the Ruby OpenSource Challenge. Fix a bug, write a new needed feature or just update the lagging documentation of a pointed Ruby Open Source project, and have a chance of winning some …

0
132
Member Avatar for Ritesh_4

Hello, anyone can help me with the conversion of single quotes in a string to double quotes? Am new to Ruby programming and still learning around on how to use it properly. I have an example in Delphi, which I want to make compatible with Ruby: function ReplaceSingleQuote(AText: String): String; …

Member Avatar for Ritesh_4
0
141
Member Avatar for JohnBoy2

Hi - I'm very new here (1st post). I read the introductory docs, and looked at the categories, but I didn't see a specific place for posting code for review/critique. My apologies if this is not the appropriate place to do that... Here is some code I am hoping to …

Member Avatar for kb9agt
0
187
Member Avatar for visumdesignz

I am having a hard time connecting to active admin I get stuck @ localhost:3000/admin of the this tut http://net.tutsplus.com/tutorials/ruby/create-beautiful-administration-interfaces-with-active-admin/ I can connect to localhost:3000/ but when I connect to localhost:3000/admin I get page errors where there is supposed to be a user login... Started GET "/admin" for 127.0.0.1 at …

0
97
Member Avatar for opsryushi

Hi everyone, I'm a bit new to Ruby *and* Rails, and I'm struggling with a task I'm trying to accomplish. I'm attempting to build a simple Rock-Paper-Scissors game in Ruby on Rails, and I'm a little lost as to where to begin. It seems to me that the app will …

0
140
Member Avatar for jhamill

okay, i am trying to implement a program that cycles through a circularlly linked list to find different strings "assassins" and then eliminate the next person in the list. I believe that most of my code is correct with the exception of how I set up my linked list as …

Member Avatar for jhamill
0
267
Member Avatar for gdp_87

Firstly, Hello, The purpose of this post is to get some advice/recommendations from some other developers on what path to pursue next to progress and improve. I am trying to decide what programming language to learn next, and currently im edging towards C++ but considering some dialect of LISP maybe …

Member Avatar for gdp_87
0
172
Member Avatar for curlissue657

Hello everyone, i tried to make a program with Ruby but i came up with results who doesn't help me. somehow the result doesn't show up as i requested. letters = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o', 'p','q','r','s','t','u','v','w','x','y','z'] name = "bbb" i=0 j=0 k=0 for i in 0..25 do for j in 0..25 do for …

Member Avatar for thines01
0
71
Member Avatar for hwoarang69

Hi I am interseted in designing web sites but i dont want to learn 5 different scripting languages. Is it possiable to create a good working web site just by ruby and sql?

Member Avatar for DavidAntaramian
0
137
Member Avatar for Mestika

Hi everyone, I’m currently working on my Master Thesis which in few words concentrates about NoSQL databases and performance and tuning tests of particular MongoDB. I’m trying to create some test dummy data to put in so I can run some initially tests to create a baseline for comparison. I’ve …

Member Avatar for curlissue657
0
250
Member Avatar for fistfullofbeer

I am working on a personal project and am trying to figure out if Python 3 or PHP would work better. I prefer Python because I am trying to hone my skills at it and at the same time I really do like its syntax and ease to learn. I …

Member Avatar for TrustyTony
0
167
Member Avatar for shaan_046

Hey guys. I am getting an error in this jsp code in line13 i.e PopulateTextbox obj = new PopulateTextbox(). What is wrong in my code. Am i declaring the function at wrong plae or missing braces anywhere. Please help. ? [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@page …

Member Avatar for stbuchok
0
198
Member Avatar for shaan_046

Hey guys. I am getting an error in this jsp code in line13 ( PopulateTextbox obj = new PopulateTextbox();). What is wrong in my code. Am i declaring the function at wrong plae or missing braces anywhere. Please help. ? [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@page …

Member Avatar for stultuske
0
232
Member Avatar for a-lago

Hi I've been playing for a while with WxRuby and I just acn make the TreeCtrl event evt_tree_expanded or evt_tree_expanding please help me here is the code mi problem its at line 46: [CODE]require 'wx' include Wx class MyFrame < Frame def initialize super(nil, :title => "prueba" ) @my_panel = …

Member Avatar for a-lago
0
122
Member Avatar for a-lago

Hi I've been playing for a while with WxRuby and I just acn make the TreeCtrl event evt_tree_expanded or evt_tree_expanding please help me here is the code mi problem its at line 46: [CODE]require 'wx' include Wx class MyFrame < Frame def initialize super(nil, :title => "prueba" ) @my_panel = …

0
90
Member Avatar for jaskij

Hi there everyone :) Recently, I started to feel a strong need to learn a scripting language. The question is which. Right now I'm pondering between Ruby and Python. The conditions are that it should be high-level, object or object oriented and not a functional language. What say you, geeks? …

Member Avatar for DavidB
0
114
Member Avatar for erogol

I try to develop a rails web search engine that aims to use carrot 2 clustering rest service that is also work on my computer. However to use these two I need to deploy both of them to same server. Do you know any hosting that makes available to run …

0
134
Member Avatar for Dante2

ok, so here's the deal. Going over the Rails tutorial. We're running a testing environment to make sure that the things we want showing up on our pages are making it. Doing this using pages_controller_spec.rb file. And this is one of three arguments that we passed: [ICODE]describe "GET 'home'" do …

Member Avatar for Dante2
0
137
Member Avatar for jackbauer24
Member Avatar for a-lago

Hi im starting to learn programming and I'm stuck in this [CODE] puts "enter as much words as you like and i will sort them" words = [] while true words.push gets.chomp if words.last == "" words.delete(words.last) break end end sorted = [] def sort unsorted, sorted, num, var while …

Member Avatar for a-lago
0
751
Member Avatar for jola.chmiel

Hi, I am just begining my adventure(if i may call it this way) with python used for web development. I found out that there are two well known frameworks: django and pylons. I read about them a lot, but I am not certain which one to pick. That's why I …

Member Avatar for sun_2588
0
109
Member Avatar for fk123

[CODE] a=gets.to_i b=gets.to_i [/CODE] this code gets input like this 2 2 but in c++ std::cin will get input after space or \n So how do I make ruby get input like std::cin I am new to ruby and can not find the answer on google so help would be …

Member Avatar for fk123
0
151
Member Avatar for a-lago

Hi I'm new to this forum (and also to programing hehe) Name: andrew Nickname: Lago Age: 16 Hobby: parkour gym computer and mixed martial arts I'm really just learning mi first programming language (ruby) and whoul apreciate any help you could give me to become a better programmer. Thankyou.

0
44
Member Avatar for Schol-R-LEA

(Note: This was previously posted at [url]http://www.ruby-forum.com/topic/3426459#new[/url] , but received no responses after four days.) When attempting to install ruby-debug19 on a Windows 7 partition, I have gotten the following error sequence: [code] ERROR: Error installing ruby-debug19: ERROR: Failed to build gem native extension. C:/Ruby193/bin/ruby.exe extconf.rb checking for rb_method_entry_t.called_id in …

0
217
Member Avatar for Sam367

Hello everybody! I'm thinking about creating a website using either of these listed different languages such as PHP, ASP.NET, JSP, RUBY(i don't know this one), COLDFUSION(same with ruby), etc. I created a personal website of my own as part of my college project last 2 years using Dreamweaver. I only …

Member Avatar for Sam367
0
187
Member Avatar for apollo1987

Hi there, I'm looking for a Cross-Platform to build [B]native[/B] mobile apps. It should meet the following requirements: - It should support these OS: iOS, Windows Mobile, Android - I'm [B]NOT[/B] looking for frameworks to build [B]WEB[/B] apps using HTML, JS, and so on. The wanted platform/tool/framework should use a …

Member Avatar for stbuchok
0
90
Member Avatar for Dante2

Ok, I'm using the Head First Rails book, which sadly, was written in 2009. So, the API has changed drastically. I am trying to manually configure a route to make the controller find my show page. The route the book tells me to type [ICODE] map.connect '/ads/:id', :controller=>'ads', :action=>'show' [/ICODE] …

0
91
Member Avatar for websoftcreation

Hi , Anybody can help me to learn ruby .Please guide me any book,tutorials,websites asap.Is it fully support windows7 Regards Websoftcreation

Member Avatar for thines01
0
43
Member Avatar for arunmv

Hi, Can anyone please tell me how to consume a web service running on a jasper server?.I need the ruby code for the same.Please help. Regards, Arun

0
87
Member Avatar for arunmv

Hi, Can anyone please tell me how to consume a web service running on a jasper server?.I need the ruby code for the same.Please help. Regards, Arun

0
73
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 stevanity
0
129

The End.