Questions about Ruby, dynamic, reflective, general-purpose object-oriented programming language that combines syntax inspired by Perl with Smalltalk-like features.

learn more… | top users | synonyms

7
votes
1answer
2k views

How do I learn Concurrency in Ruby? [closed]

Yesterday I read this great article about Concurrency in JRuby from EngineYard and I realise I need to leverage my skills about concurrency in Ruby, by mentioning Ruby here I mean it could be all ...
2
votes
1answer
211 views

Semi-securely storing data in a remote key-value store, ensuring minimal data corruption/tampering

I'm bashing around a few ideas for storing usage data (similar to google analytics) for some Javascript products that we are working on. Unfortunately as yet we don't quite know 100% what data we ...
3
votes
2answers
946 views

Why do ruby and python seem to have more community contribution than PHP? [closed]

In a recent blog post by Roy Osherove, it is pointed out that his switch from primarily .Net development to ruby development has seen a huge difference in community involvement and really enjoys it. ...
5
votes
3answers
150 views

Books to learn to develop Rails Plugins [closed]

I am using Ruby on Rails 3.0.7 and I would like to learn to write "advanced" plugins for the current versione of the framework. In order to do that I would like to buy some books but what I have seen ...
12
votes
10answers
3k views

Is dynamic language always interpreted?

Looking at most (if not all) dynamic languages [i.e Python, PHP, Perl and Ruby], they are all interpreted. Correct me if I'm wrong. Is there any example of dynamic language that goes through ...
1
vote
1answer
2k views

I would like to contribute my time for free to a Ruby open source project, what are some beginner friendly Ruby projects? [closed]

I think I am at a point where I can truly contribute to a Ruby open source project, can you suggest one or more that would be open to having a true beginner contribute. This would be my first group ...
0
votes
5answers
2k views

What was Ruby used for before Rails? [closed]

What type of programming or project would only involve the Ruby language? Rather than using RoR. What was Ruby used for before the Rails framework existed is what I am basically asking.
8
votes
4answers
1k views

PHP and Ruby: how to leverage both? and, is it worth it? [closed]

As you might have noticed from the title, this is not a "PHP or Ruby", or a "PHP vs. Ruby" question. This is a question on how to leverage PHP + Ruby in the same business. I myself am a PHP developer,...
18
votes
2answers
3k views

In what area is LISP's macro better than Ruby's “ability” to create DSL

One of things that makes Ruby shine is the ability to create Domain Specific Languages better, like Sinatra Rspec Rake Ruby on Rails' ActiveRecord Though one can duplicate these libraries in LISP ...
4
votes
1answer
613 views

Best practice for organizing third-party integration code in ruby

I have a rails app. I'm writing code to integrate it with a third-party service, "Foo Bar". The integration affects many parts of the system -- models, controllers, and an API wrapper. Thus far I've ...
21
votes
2answers
2k views

What are Ruby's strengths? [closed]

Before I'd read this article, I never understood why anybody liked LISP. After reading it, I was able to give LISP a fair enough shot and have since grown to like it. It wasn't until I read this ...
5
votes
2answers
259 views

Third-party open-source projects in .NET and Ruby and NIH syndrome [closed]

The title might seem to be inflammatory, but it's here to catch your eye after all. I'm a professional .NET developer, but I try to follow other platforms as well. With Ruby being all hyped up (...
1
vote
3answers
452 views

Is iron ruby on Silverlight a viable alternative to C#?

I've heard a lot of buzz about the Iron languages.. I mostly write line of business applications in c# and I'm not really enjoying c# these days. Is IronRuby mature and fast enough to be used in ...
7
votes
1answer
1k views

Open/Closed principle and reopening Ruby Classes

In OOP there is the Open/Closed principle that states that "software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification". Taking in ...
17
votes
7answers
10k views

Do experienced Ruby on Rails developers use scaffolding?

In the Ruby on Rails tutorial, I read something that suggested that experienced developers do not use scaffolding since they tend to like to just write the code to connect the MVC on their own. In a ...
6
votes
2answers
927 views

Ruby on Rails Development Process

We are a small team that is about to start developing a localized version of a successful US web app in Korea, using RoR. Our question is: What process would you recommend we use to go about ...
8
votes
6answers
7k views

What language to use for prototyping and creating quick scripts? [closed]

Right now, I use Python for my quick scripts and prototypes (e.g. algorithms, my pseudocode is very Python-like as well). The oher languages that I am familiar with include Java, C, x86 Assembly and ...
8
votes
1answer
389 views

Are there tasks which require significantly less work with Ruby than C# 4.0?

I just finished reading the Ruby chapter of the book 7 Languages in 7 Weeks. Aside from some syntactic sugar here and there I can't really see anything which can't be done with C# with a similar ...
10
votes
5answers
918 views

Would it be ok if I decide to write all my Ruby as if it were Haskell?

Given that Ruby has good list operation capabilities in-built - reduce, map, select, collect etc. It has Procs, Blocks and Lambdas, and has nice iteration support (the each family), would it be a bad ...
2
votes
1answer
102 views

focusing on a language itself VS focusing on language + CS

So, I've been working on Ruby with the goal of self-employment (I'm an impoverished philosopher (not even in university!) and can't get a normal low-paying job). But there is a quandary in my road of ...
0
votes
1answer
101 views

Is JRuby like RubyMRI but better, or are there some things it lacks?

I am considering using JRuby in a project which would need to talk to some Java. From what I am reading about JRuby I am not noticing that it is missing anything that the standard Ruby has. Is that ...
2
votes
3answers
313 views

Questions for Architecture with Ruby and Java [closed]

I am in the research phase of a project that needs to make use of 3rd party libraries that are in Java so I am stuck using Java to at least a small degree. I am considering implementing Ruby as the ...
9
votes
9answers
1k views

Which Programming Languages Support the Following Features? [closed]

My personal programming background is mainly in Java, with a little bit of Ruby, a tiny bit of Scheme, and most recently, due to some iOS development, Objective-C. In my move from Java to Objective-C ...
6
votes
2answers
471 views

Ruby Koans: depth and usefulness? [closed]

Several people have suggested Ruby Koans to me over just following a book, and this seems like a much better prospect. As there is no question regarding the entirety of Ruby Koans, what do SO users ...
17
votes
1answer
9k views

Best Ruby Git library?

Which is the best Git library in Ruby to use? Git, Grit, Rugged, Other? Background: I'm the current maintainer of TicGit-ng which is a distributed offline ticket system built on git, and I've read ...
18
votes
8answers
7k views

Ruby: The Bad Parts [closed]

I recently read Crockford's book "Javascript: The Good Parts" and one of the underlying premises was that programming languages can have bad sets of features which programmers should avoid. I'm a ...
10
votes
2answers
3k views

Why if statements do not introduce scope in ruby 1.9?

if statements do not introduce scope in Ruby 1.9, what is the rationale behind this change from ruby 1.8?
3
votes
5answers
4k views

Ruby freelancing: realistic expectations?

I'm in a situation where I only need $100 to live at a place. How is this relevant to programming? Well, I would like to hear the opinions of those on this site if it is at all realistic to expect a ...
5
votes
5answers
2k views

How can I move from Java and ColdFusion to Ruby on Rails? [closed]

Currently I work with ColdFusion 9+ and some Java in a Windows environment. Prior to ColdFusion, my background was in Java and JSP. I'm considering a move towards Ruby on Rails, as I think it would ...
7
votes
7answers
6k views

What advantages switching to ruby might give me as a python programmer? [closed]

This is my first question on stackoverflow, so please bear with me. I'm trying to stay away from any form of trolling or flame baiting as i have a tremendous respect for both languages. I'm a python ...
13
votes
7answers
524 views

Where is the best place to teach myself a language, and which one?

I do not know any programming languages at all. I will self teach myself and need to know the best place to do so where I can learn from a most basic level. Where is a great place to begin learning ...
2
votes
3answers
288 views

Recomendations for Front-End to Programming Transition

I am a front-end developer seeking to add programming to my skillset. As with all things, I'm sure that practice and practical application will aid me most, but I am currently having trouble wrapping ...
6
votes
4answers
1k views

How does one learn to program (and think) the Ruby way? [closed]

Why I Ask this Question: I've just starting to learn Ruby (and by extension IronRuby since I work in the Microsoft world). I picked up IronRuby Unleased to teach me the basic syntax of Ruby, and any ...
15
votes
5answers
6k views

What should a Python developer know while learning Ruby? [closed]

I have been a Python programmer for about 18 months, consisting of one internship and a few side projects, and I consider myself pretty comfortable in the language. However, there seems to be a lot ...
6
votes
3answers
1k views

What do you think about gems and eggs? Alternatives? [closed]

I've read recently some criticism (see 1, 2, 3) about the packaging distribution system of two popular programming languages: Ruby gems and Python eggs. The most important argument stated against them ...
1
vote
2answers
581 views

Enumerators vs. returning

I've been reading over the Enumerable module in Ruby, and it contains a few methods that follow the pattern of enum.foo(n) {|obj| block } → nil enum.foo(n) → an_enumerator Which is to say, they ...
24
votes
8answers
22k views

Ruby or Python? [closed]

This question is extremely subjective and open-ended. It might even sound like something I should just research for myself and make my own decision. But I'd like to put it out there and get some ...
3
votes
7answers
198 views

Test code that will be changed soon

My question is whether I should test code that I know will be changed in a short time. I'm doing TDD in ruby, and I often meet with this question. I'm interested about best practices about this, pro ...
7
votes
3answers
5k views

What can I use instead of Interfaces in Ruby (or any other dynamic language)?

My goal is to define contracts between classes. I like duck typing and all but I'd like also to define an interface between different layers of my application to clearly define which are the method ...
2
votes
4answers
491 views

Will I be majorly disadvantaged learning Ruby with Rails version prior to 3? [closed]

I'm on a shared hosting account which runs cPanel, pretty standard unless you have your own VM. cPanel currently doesn't support Rails 3. My flat mate who has been working with ROR for the last year ...
2
votes
3answers
636 views

Starting my first RoR project, what JS library is good to go with it?

I'm starting my first Ruby on Rails project as I've been excited about the language for quite a while now and I'm sick of writing PHP. I've gathered that rails is pretty much an automation framework ...
34
votes
8answers
3k views

Ruby but not Rails on my Resume [closed]

I have listed Ruby as a skill on my resume becuase I've been programming in Ruby for 5 years while I work on my Ph.D. thesis. I've mostly been using it to implement natural language processing ...
5
votes
10answers
5k views

Newbie, deciding Python or Erlang [closed]

I'm a Administrator (unix, Linux and some windows apps such as Exchange) by experience and have never worked on any programming language besides C# and scripting on Bash and lately on powershell. I'm ...
1
vote
3answers
2k views

Why is C# ASP.NET generally not regarded as a rapid web development framework?

The terms rapid web development gets associated with Python/Django and ROR. Why is this not the case with C# ASP.NET?
-2
votes
2answers
957 views

Best practices for managing and maintaining large Rails app? [closed]

What are best practices for managing and maintaining large Rails app?
8
votes
2answers
907 views

Do Ruby (and other dynamic language) programmers use IoC / Dependency Injection?

I'm primarily an ASP.NET developer and the single thing i've been introduced to in recent years that has had the most dramatic impact on the quality of the code I write has learning how to use IoC ...
23
votes
3answers
9k views

What is a symbol in Ruby?

I'm totally new to the Ruby world, and I'm a bit confused with the concept of Symbols. What's the difference between Symbols and Variables? Why not just using variables? Thanks.
12
votes
7answers
1k views

Is there anyone who has used Python/Ruby and PHP for a long time and still prefer PHP? [closed]

I am usually fascinated by articles defending PHP and the arguments being used. Quite often authors of these types of articles don't mention what experience they have with other languages. Personally ...
3
votes
2answers
159 views

Do system background services affect languages benchmarking?

Today I was looking at some blogs on Ruby and Python. A Python loyalist wrote a few lines of code with a loop to show how Python is faster than Ruby, with a similar code. I also found a blog of a Ruby ...
10
votes
8answers
1k views

How to end my dependency on .NET? [closed]

I have been developing Windows GUI applications since many years and jumped into .NET in early 2005. .NET is a undoubtedly a remarkable platform and I am still using it, but with a variety of ...