Skip to main content
rubber:passenger:add_to_pool takes forever
Servers • Asked by Michael Victor
I'm using Rubber 3.1.0 with Capistrano 2.15.5 When I try to deploy my app(default rails-devise-pundit) to production on EC2, it goes on perfectly till command finished in 2849ms triggering a...
4
posts

Multi Site in Rails
Rails • Asked by rabin prithvi
Have a Rails app which acts as a API client. Request may come from 6 different domains. Each site will have same layout. Difference between each site would be the theme color , logo and the tex...
4
posts

Using scopes to rank users based on votes they get from their posts
General • Asked by Ariff Munshi
Hi all, I posted this question on Stack Overflow for a problem I am stuck at. http://stackoverflow.com/questions/30805987/using-scopes-to-order-users-with-most-votes-for-specific-time-periods ...
3
posts

Versioning question.
General • Asked by Brent C
I have a website where I would like to offer users the ability to edit the public facing data. However, after the data is edited I need to place the model in que for review. If edits are acceptable...
2
posts

filter child record by the parent.
Rails • Asked by Francisco Quinones
Info: My models and association. I got a ServiceUser ( Manager ) model,User model, ServiceCompany model, Employee model and a Project model. A ServiceCompany can have many projects, employees and m...
11
posts

Idea for TimeClock Need Advice
General • Asked by shakycode
I'm wanting to integrate Time Clock functionality into an existing Rails 3.2.21 app. I think I have an idea of how to do this, but I need some advice on the how to handle different scenarios. S...
28
posts

SQL injection attempts, any advice?
General • Asked by Javier Sanz
Hi there, In the logs of Rollbar for my app [petithacks.com](http://petithacks.com), I have seen in the past 2 days attempts like the ones in the image ![SQL injection attempts](http://static....
5
posts

Restrict Rails Model To Create after Certain Condition
General • Asked by sid d
Requirement:: We have implemented Passport where any user can subscribe to this passport. I want to restrict subscriptions after 20 subscriptions happen. How can we go with this. Any ideas ?
2
posts

Dealing with Recursive Models
General • Asked by sid d
User wants to search for classes nearby according to date similar to [classpass](http://joliepagaille.com/wp-content/uploads/2014/11/Picture-1.png) ### Backend Form fields for creating class by...
2
posts

Multiple objects in form and controller, hitting a wall.
General • Asked by shakycode
So I'm working on a old version of a legacy app Chris and I paired on, trying to refactor some functionality and am hitting a wall. I currently have some basic paging functionality which creates...
1
post

Ransack Scoping issues
General • Asked by alexander kehaya
Hey everyone, Just posted this question to stack overflow but thought I'd give it a try hear. I've been trying to figure out how to scope ransack searching for a couple of weeks but haven't figured...
17
posts

Refile S3, presigned, multiple files + Cloudfront - generating images via javascript
General • Asked by Dean Fields
Hello, I have followed along with both videos, but have come up with a little issue while attempting to generate a thumbnail within the success event. It seems to be automatically requiring the ...
9
posts

Add Profile page for users
Rails Solved • Asked by Rahul Lakhaney
Hello, Before i begin with my question, i would like to introduce myself. So i was introduced to ruby on rails via a friend around a couple of months back, when i decided to enroll myself with o...
4
posts

Coffeescript Polling Issues
Javascript • Asked by Chris Zempel
I'd like to reload an iframe when the images needed to generate the preview it will display are cached by background workers. However, I can't figure out how to get setTimeout() to work correctly (...
7
posts

New Users Only Created by Admin User
Gems / Libraries • Asked by Michael Stitt
I'm building an internal app for my company that contains data from various sources (e.g. web analytics, server logs, etc.). It's hosted on an EC2 instance with a DNS of "reports.example.com". Ri...
4
posts

HTTParty and trycelery.com API
General • Asked by Edward Bishop
Ok. I have tried for 3 days and I'm not getting anywhere. I am building a small kickstarter style campaign module for several products that will be run through Celery. What I want to accomplis...
3
posts

Where to put my Big Ole' Array
Rails • Asked by Brent C
I have an array of states and abbreviations that I check when a user is performing a search. If the items is not in the array it moves on to using a geocoded service. I do the initial check current...
6
posts

Single Table Inheritance: Good spot or not?
Rails • Asked by Brian Schwartz
I have two simple models I'm about to create in an existing Rails app. One is a `NAICSCode` which has the following attributes: `company_id`, `code`, `name`, and `description`, the other is `SICCo...
4
posts

How to build a web scraper using Ruby...
Ruby • Asked by Danny Wu
Hello Chris - can you please teach us how to build a web scraper using Ruby to collect data from the web?
2
posts

CoffeeScript check if a checkbox is checked?
Javascript • Asked by shakycode
I have some simple CoffeeScript that toggles a div based off of if a checkbox is checked in a Rails form. The CoffeeScript looks like this: ``` $("#bill_patient_checkbox").change -> ...
11
posts

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.