Tagged Questions
31
votes
8answers
2k 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 ...
22
votes
8answers
10k views
Ruby on Rails downsides and caveats [closed]
This is not an opening gambit for RoR bashing - honest!
I'm learning Ruby and the Rails framework. Prima facie it appears to be pretty cool, and a wonderful experience compared to PHP. (In fact, it's ...
18
votes
3answers
1k views
Moving away from .Net to Ruby and coping without intellisense [closed]
I am in the process of trying to learn Ruby, however after spending nearly 10 years in the MS stack I am struggling to get by without intellisense. I've given RubyMine a try which does help however ...
16
votes
6answers
3k views
I'm a student learning C++ and I've recently found out about Ruby. Would learning (some of) Ruby help me with C++ or would it just confuse me?
As the title says, I'm a student that will be starting my second year of C++ very soon. I've discovered Ruby, however. While I've heard much buzz about the language before, I've disregarded it because ...
13
votes
7answers
8k 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 ...
12
votes
4answers
1k views
What did Ruby do right (or was it Rails)? [closed]
Most programming languages have some design decisions that influence their usage and applicability.
For example:
Python focused on maintainability/readability of code and had indentation be a part ...
7
votes
3answers
264 views
How to approach people you've found through internet with similar programming interests?
I've recently really dived into Ruby/Rails and I'm falling in love. I have a gut feeling this might be something that could last for a while.
What I've been missing is interaction with people who are ...
6
votes
3answers
129 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 ...
6
votes
2answers
645 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 ...
4
votes
5answers
2k views
What is a practical way to debug Rails?
I get the impression that in practice, debuggers are rarely used for Rails applications. (Likewise for other Ruby apps, as well as Python.)
We can compare this to the usual practice for Java or ...
4
votes
5answers
1k views
How can I move from Java and ColdFusion to Ruby on Rails?
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 ...
4
votes
5answers
350 views
Simple approach to Rails [closed]
I recently got into web development through the PHP framework, CodeIgniter. I knew some PHP before I started learning that framework and overall I found it very easy to learn. The CodeIgniter ...
4
votes
3answers
1k views
How can web development bootcamps deliver on their promise? [closed]
I came across the concept of web development bootcamps, these 9-10 week intensive crash courses claim to teach beginners web development and help them get 80k starting salary jobs. Many of you might ...
4
votes
1answer
163 views
Order collisions in ecommerce
Suppose I have a web app where sellers add their products and set them as available for sale. Then I show a list of products in my mobile app, where I get products via my REST API.
My problem: suppose ...
4
votes
1answer
4k views
Why do people suggest not to use instance variable for views in Ruby on Rails
Why do I hear that it is not good to share instance variables between controllers and views. I kind of like it because I can see immediately via the @ that something is coming from the controller. I ...
4
votes
3answers
912 views
How should I go about learning Ruby and Rails? [duplicate]
Possible Duplicate:
Is there a canonical book on Ruby on Rails?
I really want to change my PHP specialization to Ruby. I have some Ruby/Rails experience, and I've already created a few Ruby ...
3
votes
4answers
3k views
What is ActiveRecord in Rails?
Today I interviewed with a big-ego VP for a Rails and Rails position at a profitable company in my city.
He asked me to explain what ActiveRecord is in Rails. I told him the following:
...
3
votes
6answers
5k views
How much Ruby should I learn before moving to Rails?
Just a quick question..
I can never get a definitive answer when googling this, either. Some people say you can learn Rails without knowing any Ruby, but at some point you'll run into a brick wall and ...
3
votes
3answers
570 views
Why rails use yaml to config database instead of plain ruby code?
Most of configuration files in ruby such as Gemfile, gemspec, are just ruby code itself. Why database configuration file in rails is the exception?
3
votes
2answers
223 views
Managing constants in application
Our application is having 2 parts a web app running ROR and a web service running Sinatra. The application communicates with the mobile device for which we use different constants depending on the ...
3
votes
1answer
123 views
Rails solution for mobile-specific content filter?
To note, I'm not interested in simply 'hiding' content for mobile devices, I want to filter out that content completely. I'm also not trying to address the issue by building a mobile specific ...
2
votes
4answers
444 views
Will I be majorly disadvantaged learning Ruby with Rails version prior to 3?
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
5answers
1k 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 ...
2
votes
3answers
585 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 ...
2
votes
1answer
121 views
How to create html pages which don't change very much and not very often?
I have a Rails server that connects to a json API on another server to get data to build the pages dynamically. These pages, however, don't change very much and not very often.
I was thinking I could ...
2
votes
1answer
1k views
What is a closure and how is it implemented in Ruby?
In the context of the Ruby programming language, what is a closure and when do you use one? What are the uses for it in Rails?
2
votes
1answer
612 views
Good resources for learning Rails? [duplicate]
Possible Duplicate:
Is there a canonical book on Ruby on Rails?
I just finished working through Peter Cooper's "Beginning Ruby". So now I've got a reasonable grounding in the Ruby language ...
2
votes
2answers
197 views
Questions for Architecture with Ruby and Java
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 ...
2
votes
3answers
2k views
Should I use Ruby version 1.8.7 or 1.9.2 to start developing Rails apps?
I'm diving into RoR and I see that the current version of Rails (3.0.5) works with both 1.8.7 and 1.9.2. Currently, I have both versions of Ruby installed using RVM, but I'm wondering which version I ...
2
votes
2answers
394 views
Should I prefer instance methods over class methods in Ruby?
I'm working on a rails application, and I've been pulling functionality out of my rails code and into pure ruby classes in lib/. I've found myself often writing classes like this:
class ...
2
votes
1answer
300 views
Rails: Useful example of delegate and Law of Demeter
I am currently learning about delegate and the Law of Demeter. I understand the Law of Demeter, but I can't seem to find a good example of where using delegate to avoid breaking the law would actually ...
2
votes
1answer
113 views
Storing different algorithms and using them for demonstration
I have an app for creating simple graphs (the kind with vertices and edges) and then using different algorithms on them (BFS, DFS, topsort, Prim's etc) for demonstrating how they work.
I'm now ...
2
votes
1answer
194 views
Designing and refactoring of payment logic [closed]
Im currently working on an application that helps users to coordinate dinner clubs and all related accounting. (A dinner club is where people in a group, take turns to cook for the rest and then you ...
2
votes
1answer
328 views
Am I experienced enough to learn and develop immediately using Ruby on Rails?
General Question
I understand that discussions revolving around questions of this form run the risk of becoming too specific to help others. So, perhaps a better, general question would be:
What ...
1
vote
3answers
1k views
Which framework should a ruby beginner start with: rails or sinatra? [closed]
What is the best framework for start: rails or sinatra? I heard that sinatra is more flexible but rails has a lot of documentation and tutorials. What's your choice?
1
vote
3answers
267 views
Ruby/RoR development: desktop or server [closed]
Our company has started development of own systems "in-house". We already got couple of developers, who will be responsible for writing code in Ruby/RoR.
We are currently discussing infrastructure, ...
1
vote
1answer
178 views
Dealing with 'dirty' Ruby on Rails client
I had to leave a startup about a month ago because of lack of funding. Basically, this client wanted an application to allow contractors to create, update, read, and delete yardsigns. Straight forward ...
1
vote
4answers
241 views
If I use Ruby Migrations, do I have to use the rest of Ruby on Rails?
I'm currently trying to come up with a database migrations strategy for my organization. This includes getting the database scripts into source control, managing versioning, managing releases to QA / ...
1
vote
3answers
858 views
Setting up a simple Ruby\Rails environment
I am coming from a .NET background and beginning my journey into the Mac OSX\Ruby\Rails environment.
A lot of the resources I have found such as this one have between 5-10 steps for setting up a ...
1
vote
2answers
374 views
What is faster and preferable way for variable assignment in ruby? [closed]
I am a RoR developer and want to clarify some doubt about ruby variable assignment.
In ruby we have two ways for variable assignment.
str, arr, num = "Hi", [1, 2], 3
and
str = "Hi"
arr = [1, 2]
...
1
vote
2answers
854 views
Is it worth converting a Django project to Rails?
I have a project I shelved a while back- it was essentially a working web app built in django but I stopped working on it to work on something else.
I plan on starting it up again in my spare time, ...
1
vote
2answers
748 views
How do I read API documentation?
I've been trying to read through the RoR API to try to learn things that the tutorial missed, and I haven't been able to follow it at all. The only time I've read documentation was when I needed to ...
1
vote
2answers
677 views
Best practices for managing and maintaining large Rails app?
What are best practices for managing and maintaining large Rails app?
1
vote
1answer
817 views
Starting with Ruby on Rails? I see a lot of criticism everywhere. Is it okay to start with Rails now in 2012? [closed]
I have worked on C before and have never tried my hands on any web application creating framework. After some convincing from one of my friends I thought of giving Rails a go. Before starting to work ...
1
vote
2answers
223 views
Need advice on design in Ruby On Rails
For personal educational purposes I am making a site for a conference. One of the object that exist in a conference is a session, which has different states and in each state it has slightly different ...
1
vote
1answer
582 views
rails fake data, considering switch from faker to forgery, any advantages or pitfalls?
With Ruby on Rails I've usually used Forgery for generating dummy data for testing.
I've noticed recently that several clients and tutorials are using Faker
They both seem fairly similar in use ...
1
vote
1answer
75 views
Should I use the new method/action to retrieve records? (Rails)
I have an admin controller that is just used for its index action which renders a view with the most recent updates to certain resources:
class AdminController < ApplicationController
...
1
vote
3answers
1k views
Rails generators for subscription and payment processing services?
I've been thinking about making a generator for managing subscriptions with options for a couple different payment processing services, it is something that I would use. Are there any existing ...
1
vote
1answer
199 views
How to build an API on top of an existing Rails app with NodeJs and what architecture to use? [closed]
The explanation
I was recently hired by a company that has an old RoR 2.3 application with more than 100k users, a strong SEO strategy with more than 170k indexed urls, native android and ios ...
0
votes
2answers
165 views
Why there is much more support for closed xls format in rails (and ruby) than to an open ods format?
It is little depressive, but it seems to me that there is much more support for manipulating ugly proprietary closed format like xls in rails (and ruby) in general that to documented open Open ...