Ruby on Rails is an open-source web development framework optimized for programmer happiness and maintaining sustainable productivity. Many things are defined by convention, freeing you from having to re-invent things to stay productive.

learn more… | top users | synonyms (1)

5
votes
7answers
3k views

How to become a professional web developer from a C/C++ programmer? [closed]

I am currently a high school student and know how to use Pascal and C/C++ to take part in competitions such as the Informatics Olympiad. I have learned data structures and many algorithms to solve ...
4
votes
6answers
755 views

Should I keep separate client codebases and databases for a software-as-a-service application?

My question is about the architecture of my application. I have a Rails application where companies can administrate all things related to their clients. Companies would buy a subscription and their ...
7
votes
3answers
466 views

Why decouple view and controller (web)?

Why can't we put them in the same page, like each action paired up with its view? Not using code island, but controller code at top then view code at bottom? What are the problems with this approach? ...
28
votes
2answers
5k views

Does the ActiveRecord pattern follow/encourage the SOLID design principles?

I'm interested in whether ActiveRecord pattern, made famous from Ruby on Rails, encourages or discourages the use of SOLID design principles. For example, it seems to me that ActiveRecord objects ...
-1
votes
1answer
987 views

Devise and Warden

I've been using Devise for a little while, and I've realized it's built on something else called Warden that handles authentication. What does Devise offer me outside of Warden, because I was ...
4
votes
3answers
1k 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 ...
1
vote
3answers
906 views

Organising MVC App with virtual model using external API

I am creating a rails app with following constraints It has no database It uses a web API to store and retrieve the data The connection to the web API is via a custom gem. The Gem has a basic ...
2
votes
2answers
3k views

When to use JavaScript instead of Ruby in web development?

Right now I am developing web applications with ruby-on-rails. Sometimes I am having a hard time deciding which language to chose to solve my problems. The difference between HTML,CSS and the ...
0
votes
1answer
105 views

A description for a changing-wording-of-a-website framework

I have built a Ruby gem, which allows programmer (or whoever) to change wording on their Rails website. When the edit mode is activated, every text on the website will have an edit icon. User can ...
4
votes
3answers
307 views

How to “read” rails apps?

I've just finished the first rails tutorial and now want to learn something about how other developers use it. So is it possible to "read" rails web applications to learn about its architecture and ...
4
votes
5answers
11k views

Real-time chat in Ruby on Rails without owning a server

I'd want to implement a Real-time chat for my Rails app but I can't really host the server which handles the sockets. I've tried Faye but it needs a server. I've also heard of pusher but it's limited ...
10
votes
5answers
4k views

Are RSpec and Cucumber really worth it?

I'm a quite new programmer to Rails (about a year) always trying to discover new gems, new ways of thinking, I just love this framework. The only thing that's kind of disturbing me is testing. I know ...
22
votes
8answers
11k 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 ...
1
vote
3answers
223 views

Tutorial for getting started with bare bone rails

I am trying to pick up Rails, but there are a ton of things that it does that it's not under my control and that's scary (http://blog.zawodny.com/2011/06/13/i-actually-tried-learning-rails/). Is there ...
3
votes
3answers
836 views

Rails data model - best practices question

I'm writing a Rails cookbook app as a learning exercise. I've created a table for Recipes which holds info for the recipe (name, author, etc...). I also have a table for Ingredients which will be a ...
4
votes
2answers
1k views

Rails: controllers vs models which should handle file manipulation

This post by Jamis Buck about keeping Rails controllers skinny has always stuck with me. I have an app in which a zip file consisting of an XML file and some images is uploaded and used to create the ...
1
vote
4answers
443 views

Learning PHP with a Rails/Django/Lift background

While I have been at university studying a CS degree I have been picking up web development on the side. As I started in the last couple of years, I have mainly been using Rack/Ruby based frameworks ...
2
votes
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?
8
votes
4answers
4k views

Why was Rails written in Ruby? [closed]

I know PHP and Ruby. Using a PHP Rails clone (not out of choice), called Symfony, (which is apparently the best PHP framework), I notice that it's a clone of Rails. I think Symfony is stupid and ...
4
votes
4answers
388 views

What technologies are needed to be a freelance web developer / designer targeting small businesses?

First off, I'm not looking for this answer: "learn PHP/MySQL, JQuery, HTML/CSS...." My background, I wear many hats, and do many things. Currently I manage investment accounts with a business partner ...
4
votes
2answers
169 views

What is a good Planned Release/Freeze/Beta Methodology?

I've been working on a nightmare of a project for some months now. The product is a small Ruby on Rails app/website for internal use by a small group of people. I'm coming up to the finish line and ...
1
vote
3answers
492 views

Ruby on Rails: Converting a Rails 3 app to Rails 2?

I just recently learnt ruby on rails using ruby 1.9.2 and rails 3 using Michael Hartl's tutorial. I'm making an application which I wanted to host on my preexisting server. However, I found that they ...
4
votes
4answers
356 views

How can I get programmers to work together better on shared code with tests

We keep repeating "you have to pull first" (this is git and github by the way). Then you code a little, then get your tests to pass, then commit, then pull and push again. We give tutorial links, ...
1
vote
2answers
292 views

Ruby on Rails - guide to learning milestones?

Is there a guide of some sort to important milestones while learning Ruby on Rails? I'm self-taught so I don't have a mentor to tell me these things. I've been learning Rails for 11 months, and ...
6
votes
3answers
130 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 ...
2
votes
3answers
399 views

Is there a good reference manual for ruby/rails? [duplicate]

Possible Duplicate: Is there a canonical book on Ruby on Rails? I've found switching from Java to Ruby/Rails to be very difficult. I feel like the rails books and websites that I've seen ...
3
votes
5answers
3k views

Should I use scaffolding or not in Ruby on Rails?

I'm learning Ruby on Rails for a new project of mine. I am referring the book 'Agile Web Development with Rails' which shows how to build a shopping cart and they use scaffolding. I'm pretty ...
1
vote
4answers
223 views

Team Software Development using Ruby on Rails

I used to work alone on small to medium sized programming projects before and have no experience working in a team environment. Currently, there will be 3 of us in an in-house software development ...
3
votes
2answers
51 views

Better background or more hands on experience

Recently, I just finished Michael Hartl's rails tutorial. Throughout the book he recommended The Rails 3 Way after you finished his book. From your experience do you think it would be better to read ...
38
votes
10answers
5k views

What are the downsides of RoR? [closed]

I'm currently trying to decide what server-side language to learn and use for web development, and while it's relatively easy to get information on why x, y, or z is a good thing, it's harder to ...
5
votes
5answers
894 views

Multi MVC processing vs Single MVC process

I've worked fairly extensively with the MVC framework cakephp, however I'm finding that I would rather have my pages driven by the multiple MVC than by just one MVC. My reason is primarily to maintain ...
4
votes
2answers
943 views

What is the iOS equivalent of Michael Hartl's Rails 3 Tutorial?

I'm a newbie programmer and I've been reading Michael Hartl's Ruby on Rails 3 Tutorial. I'm enjoying the book very much. It's easy to follow and doesn't assume I know much. I'd also like to learn to ...
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 ...
6
votes
2answers
711 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 ...
3
votes
2answers
2k views

Google App. Engine for RoR and Python apps

I fairly understand that this Q+A site is programmers destination and questions on hosting are not permitted here, but anyone who has heard of Google's App. Engine is well aware that this question is ...
5
votes
2answers
442 views

Start reading Ruby (on Rails) code [closed]

I'm an experienced developer which quite some experience in meta programming. I just found my way to Ruby and want to understand more of Rails (and related) project internals. Even if I understand the ...
5
votes
3answers
522 views

How do I determine which language/framework is best for our web-based project?

I'm in the early stages of development for a web application that has three developers (myself included) working on it. The project is, at its core, a web-based database that will be used by around ...
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: ...
2
votes
2answers
204 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 ...
9
votes
6answers
1k views

What kind of Web development projects benefit from using ORM?

I'll start by saying that I've done 95% of my database work using SQL. Recently, I did some investigation of various ORMs, such as NHibernate and Doctrine. I can see the advantages of not needing to ...
-1
votes
3answers
134 views

Connecting to users local machine from my WebApp

I have a Web App that i have developed I am looking to develop a plugin for this app so that i can pull information from the users accounts package such as sage or quickbooks(offline version). Ideally ...
0
votes
2answers
132 views

Should I re-architect client's web app?

I've inherited a project that's accrued, layer upon layer, like a pearl over the last six years. It started out as a web page to let the client check the status of their work in production, and has ...
2
votes
1answer
292 views

How do handle developer keys that are supposed to be non human readable in your app? (example: specific conflict with twitter api and twitter gem)

How do handle developer keys that are supposed to be non human readable in your app? From twitter's developer page, under My Access Token it says: "Keep the oauth_token_secret a secret. Along with ...
2
votes
1answer
634 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 ...
7
votes
1answer
627 views

How to keep up with the Rails world?

How should I keep up to date with the ever-changing Rails community? I have been trying to learn Rails off and on for a year now and the brick wall I keep running into is the fact that I'm trying to ...
3
votes
3answers
1k views

Rails conventions vs. “enterprise” architecture

(The title for this probably isn't as good as it should be, I cannot think of a better one) I am about to revisit a startup idea and my platform of choice is Ruby on Rails. I've also recently ...
5
votes
5answers
3k views

How did the “Rails can't Scale” meme start?

One meme about Rails is that Rails can't Scale. Is it known how this meme started? Was there a particular blog post that argued this is the case?
3
votes
9answers
3k views

Mac or Linux for a secondary work machine? [closed]

I am a freelance web developer geared towards Ruby on Rails. The main components of my current working environment are a 27" iMac, Textmate and git/github (which is not going to change any time soon). ...
3
votes
5answers
357 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 ...
2
votes
3answers
659 views

If you are going to deploy a Rails 3 app, which platform you'll recommend?

I am looking for advice of where to deploy a Rails app for a small business: web-based https needed fewer than 500 users (probably) fewer than 20 concurrent users So far, I am reading pricing ...