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)

2
votes
0answers
35 views

Rails + Heroku Architecture

I'm in the process of developing a Rails app that I plan on subsequently deploying to Heroku. I've never run apps on Heroku (outside of the free simple app) so I have some questions on a few things on ...
0
votes
2answers
69 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 ...
2
votes
1answer
1k views

Rails - How to use modal form to add object in one model, then reflect that change on main page?

I'm working on a Rails app and I've come across a situation where I'm unsure of the cleanest way to proceed. I posted a question on SO with code samples and such - it has received no answers, and the ...
-1
votes
0answers
23 views

What are the differences between Vanity and Split for A/B testing in Rails that I should consider when selecting one for use in a social network site?

I am evaluating Vanity and Split to support my A/B testing on a social network platform built in RoR. What differences between the two should I consider when selecting one?
-1
votes
1answer
68 views

Using Rails with a NoSQL database [closed]

I'm planning on creating a Rails site that is backed by a NoSQL database (DynamoDB). Admittedly, I'm no expert in Rails however this immediately seems to go against conventional Rails configurations ...
3
votes
2answers
151 views

Why is MongoDb popular with Node.js? [closed]

I've been looking att different web stacks, mainly rails and node.js. One thing that strikes me is that while rails is often used with a relational database Node.js seem to go hand in hand with ...
3
votes
1answer
104 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 ...
0
votes
0answers
34 views

Can't get the IDs from radiobutton or checkbox [migrated]

I don't know how to solve something about a project I'm doing in Ruby on Rails. I want to get the ID of my 3 models to my table DETAILS between these, my BD is Mysql. class Malla < ...
1
vote
4answers
219 views

Randomness in Acceptance-Tests

I've got a simple authentication solution, where a user can log in with either email or username. Since I want to show the little feature in the acceptance tests but don't want to pollute them, I ...
0
votes
0answers
78 views

“Unbiased” recommendation on scalable architecture for real time application [closed]

I've been flipping between a few language/platform combinations trying to determine the best platform combination for a scalable system, that can handle real time application communications. The goal ...
10
votes
9answers
3k views

Is Ruby on Rails supposed to have a steep learning curve or is it just me?

I'm a self-taught programmer. I've been learning RoR since October with varying intensity (sometimes all day, sometimes nothing for several weeks). Before that I knew only Java, but knew it pretty ...
18
votes
2answers
3k views

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 ...
0
votes
1answer
77 views

Online stores service design

I am designing an online store service app with rails. Everyone who wants to make his/her own store can do it with this app by just signing up and choosing a domain. I want to make it as SaaS as it ...
2
votes
0answers
228 views

How difficult would it be to port Rails to PHP 5.4? [closed]

I have no intention or desire to do this, but out of idle curiosity, what would be some of the "gotchas" if one were to want to port Rails to PHP 5.4? Would it be possible with a fairly straight ...
2
votes
1answer
124 views

How do these technologies go together?

Ruby on Rails Twitter Bootstrap Html5Boilerplate Backbone.JS or Knockout.JS I sort of understand what each one is individually, but my understanding isn't strong enough to understand whether ...
28
votes
3answers
1k views

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++ ...
-1
votes
1answer
345 views

Simple game using Ruby on Rails [closed]

I want to create a simple game like tic-tac-toe or connect4 or something like that using Rails. I have a (very) basic idea of how to write a Rails app with regular html elements, but I don't really ...
0
votes
1answer
91 views

What is a good design for a container, assignment and items

------------- 1 * -------------- * 1 -------- | Container |--------| Assignment |-----------| User | ------------- -------------- -------- ^ ...
0
votes
2answers
211 views

Should I use TDD and BDD if my project is changing fast?

I have my own little project I am creating using RoR, I plan it to have small-medium load. With no doubt I started with BDD and TDD (Cucumber and RSpec to be exact, but I am also experienced with ...
1
vote
1answer
48 views

Is there something like Brew for Sysops where I can go on a fresh VPS and say, “sissyops rails-box”?

I've been learning how to make websites with Rails for the past 4 months. I'm really starting to grok it. The problem is 99% of the tutorials out there use Heroku as the de-facto hosting platform; ...
11
votes
2answers
449 views

.Net developer trying to learn ruby on rails

I am a .NET developer and I just had the chance to play with Ruby on Rails this weekend. In .NET we separate layers of the application by creating separate class library projects. From the design ...
2
votes
2answers
146 views

How to overcome the fear of building a web application with a recurring payment system?

I'm a Ruby on Rails developer. I'd like to create a web application. I will let users get a payed subscription to use the product. So I will need a recurring billing system (e.g. via paypal). But ...
1
vote
2answers
2k views

How can I implement an escrow payment system in my website?

I'd like to build a web service similar to kickstarter that allows users to pledge money to an idea, tho I'm unsure how I can implement this kind of payment system. If the the idea receives a ...
32
votes
9answers
3k views

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 ...
3
votes
4answers
163 views

What is the relationship between a framework like RoR and a database?

I'm a front end developer...I've never done ANY backend, although I did take a course in databases once. (I have a comp sci degree; I'm a competent programmer, I just haven't done any backend web ...
2
votes
3answers
196 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 ...
19
votes
3answers
839 views

Moving away from .Net to Ruby and coping without intellisense

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 ...
0
votes
2answers
102 views

Which controller should I put for a search action that touches many different models?

I currently have the following models and am designing search functionality that searches within these 3 models: Locations Users User_friends Should I create a search controller or should I put the ...
0
votes
0answers
35 views

Reporting with authorization on Rails

I asked this on Stack Overflow and was told this is a better place to ask. I am build a rails app that has the following models*: User -name,password etc. -has_many :regions -has_many :reports ...
3
votes
5answers
225 views

Senior team members want to move query-relevant persistent data from DB to cache. Does this make sense?

I am a young engineer recently employed at a small company that sells products to the general public. We use Ruby On Rails and MySQL. Our database has a lot of customer data, but a great deal more of ...
3
votes
2answers
107 views

Does this situation call for well specified associations, single table inheritance, or polymorphic association?

I'm building a web-app where users can keep track of who owes whom money. I have users and debts. Given a user I want to be able to find out all the debts to other users, and all the loans to other ...
4
votes
3answers
150 views

Why should we use externalized property files for an application?

I am currently working on a rails project and have a requirement where I want to be able to map a country name's initial letters to its ISD code. eg: IND => 91, USA => 1, etc. The broader question ...
22
votes
4answers
940 views

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 ...
0
votes
2answers
143 views

How to improve database schema with different n:m and 1:n associations between users/tasks/comments/attachments

I'm trying to build a database for an upcoming Ruby on Rails webproject. There will be 4 tables minium: tasks, users, attachments and comments. And 1 table to join the n:m relations (tasks <-> ...
2
votes
1answer
279 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?
1
vote
1answer
174 views

Should one declare alternative response types (e.g. JSON) in Rails controller actions even if not utilising them?

Just wondering what the accepted convention is for Rails controller design. Currently, every controller in my app that I've written it set up to send a JSON response when necessary. Thing is, I only ...
2
votes
2answers
3k views

How can I create a facebook style message system in Rails 3?

I am trying to create a basic message system that allows users to send messages to each other and display it in a simple "Inbox" that shows both messages received and sent, as well as the status of ...
3
votes
2answers
230 views

Could Ruby on Rails haven been create in another language?

Could Ruby on rails have been created in another language like PHP or is there some functions in the Ruby langauage that makes the differences?
2
votes
3answers
2k views

Rails - Does using partials slow views rendering?

I'm having performance issues on a Rails 3.1.0 application, now I've done dome changes on my queries with AR and so but views still takes too many time to render, I've divided the views, loops and so, ...
25
votes
8answers
1k views

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 ...
1
vote
3answers
580 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 ...
2
votes
1answer
82 views

How does a competition like Rails Rumble Work?

I am not sure weather it is a proper question to ask out here but it is really bothering for a while. As the official website writes: The Rails Rumble is a distributed programming competition ...
0
votes
1answer
124 views

Rails-API gem, Is there such thing as an API only application?

I've built a few API's using the complete rails stack. In each project there have been multiple uses for rails core features. Each of the API has had management screens for monitoring usage, managing ...
3
votes
5answers
2k views

easiest way for push notifications

I wanted to implement real time push notification to one of the apps written in RoR. I don't have any experience with nodejs, nowjs, express or socketio. What would be the easiest way to implement ...
5
votes
1answer
1k views

Performing client-side OAuth authorized Twitter API calls versus server side, how much of a difference is there in terms of performance?

I'm working on a Twitter application in Ruby on Rails. One of the biggest arguments that I have with other people on the project is the method of calling the Twitter API. Before, everything was done ...
-2
votes
1answer
143 views

Where can I find out about basic python usage, cli, editor and testing? [closed]

I'm coming from Ruby / Ruby on Rails to Python. Where can I find or find resources about: The command prompt, what is python's version of 'irb' info and recommendations on editors, plugins and IDE's ...
2
votes
0answers
101 views

Switching CSS to use asset pipeline in Rails?

I have a lot of legacy CSS files from what was a Rails 2.x app that got upgraded to Rails 3.2.8, and I want to switch over to using the Rails asset pipeline for stylesheets. The issue is, the CSS ...
2
votes
1answer
115 views

How to keep background requests in sequence

I'm faced with implementing interfaces for some rather archaic systems, for handling online deposits to stored value accounts (think campus card accounts for students). Here's my dilemma: stage 1 of ...
-1
votes
2answers
105 views

Cache While Developing or Finish Development then Cache? [closed]

I'm new to cache and haven't used it on my projects. I would like to know about what is best practice in caching. Should caching be done while developing or finish development then cache everything? ...
3
votes
2answers
160 views

Are session aware Models a bad thing?

I'm thinking specifically in Rails here, but I suspect this is a wider question. In a Rails web application I'm using data from the session in models in order that the models know who is logged in. I ...

1 2 3 4