Questions tagged [ruby-on-rails]

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.

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.

Further reading:

279 questions
69
votes
6 answers

Should Latin-1 be used over UTF-8 when it comes to database configuration?

We are using MySQL at the company I work for, and we build both client-facing and internal applications using Ruby on Rails. When I started working here, I ran into a problem what I had never encountered before; the database on the production server…
Ten Bitcomb
  • 1,154
  • 1
  • 9
  • 14
67
votes
16 answers

How much freedom should a programmer have in choosing a language and framework?

I started working at a company that is primarily C# oriented. We have a few people who like Java and JRuby, but a majority of programmers here like C#. I was hired because I have a lot of experience building web applications and because I lean…
Spencer
  • 395
  • 4
  • 8
48
votes
2 answers

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 both contain domain logic, and persistence logic,…
nicholaides
  • 793
  • 1
  • 5
  • 12
40
votes
3 answers

How to train junior programmers for today's (complicated) web environment?

Currently our company develops applications consisting, most of the time, in Ruby on Rails web servers and a bunch of different REST clients, from kiosk systems in Java to embedded devices in C/C++ (besides the interfaces for standard web browsers).…
39
votes
10 answers

What are the downsides of RoR?

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 figure out the downsides to each of them. In…
maxfielden
  • 473
  • 4
  • 9
37
votes
7 answers

What ASP.NET MVC can do and Ruby on Rails can't?

ASP.NET MVC and Rails have similar area of use, are built around same architecture, both frameworks are relatively new and open source. So as a Rails programmer I'd like to know, what ASP.NET MVC can do and Ruby on Rails can't, and visa versa?
Nikita Barsukov
  • 1,265
  • 1
  • 9
  • 12
35
votes
9 answers

Developing on a production server

Today I got yelled at for developing an application on a production server. Quote, "developing on a production server is not acceptable - ever!" Here is the situation. I set up a development instance: http://example.com:3000 The production instance…
35
votes
12 answers

Has test driven development (TDD) actually benefited a real world project?

I am not new to coding. I have been coding (seriously) for over 15 years now. I have always had some testing for my code. However, over the last few months I have been learning test driven design/development (TDD) using Ruby on Rails. So far, I'm…
James
  • 459
  • 4
  • 3
34
votes
8 answers

Ruby but not Rails on my Resume

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 algorithms. I'm starting to look for a job, and I posted…
Ken Bloom
  • 2,384
  • 16
  • 20
25
votes
4 answers

When creating an api should I stick with small functions and many calls, or a few calls and large functions?

I have a rails platform that I maintain. It has a lot of different web applications built on top of it. However now a client is asking for an API so that they can keep users on their site, but take advantage of some of the automated tasks we have.…
Ryan
  • 550
  • 5
  • 15
25
votes
8 answers

Ruby on Rails downsides and caveats

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 reminding me of happier days with C# and…
Matty
  • 1,154
  • 3
  • 13
  • 19
24
votes
2 answers

We have a large Ruby on Rails application (25 million monthly users), our management decided to rewrite in Node.js, am I crazy?

Please tell me if: Node.js will make our site faster! Node.js will consume fewer server resources, we can save money! Node.js will make us more productive! Node.js means we can share client and server side JavaScript code. To clarify, we're…
user88487
  • 257
  • 1
  • 2
  • 5
18
votes
7 answers

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 different place I read that it is a good idea to…
Genadinik
  • 509
  • 1
  • 3
  • 11
18
votes
5 answers

When to use inheritance, when to use 'just a boolean field'?

In our Rails application, we are adding notifications. Some of these are blocking: They stop the progress of whatever resource they are added on, because some information on that resource is missing. Other notifications are simple notifications, and…
Qqwy
  • 4,709
  • 4
  • 31
  • 45
18
votes
13 answers

How can I defend Ruby on Rails against customers' not technical opinion?

My customer, a translations business owner, just told me that he has been reading about Ruby on Rails and told me that "there are more PHP guys around there" and "it seems the community prefers it". What would you, as software engineer and…
okeen
  • 291
  • 1
  • 7
1
2 3
18 19