Skip to main content
Tracking Rails App Usage with Analytics
Rails • Asked by Jay Killeen
Hi I notice this site uses Google Analytics to track usage. Is that the standard when it comes to tracking your rails apps? I know it is generally pretty standard in the case of my websites but ...
4
posts

Flexible Nested Attributes
Rails • Asked by Terence Devine
I'm working on a practice "Magazine" application, that has **Issues** with nested attributes of **Articles**, which has multiple nested attributes that are **Content Blocks**, which can be one of s...
1
post

Simple newsletter sign up?
Rails • Asked by Gareth Gomersall
Hey Chris and all other members of this forum.... I'm trying to create a single page rails site, for a new app that i'm trying to build myself (it's called Nibli, and it's on nibliapp.com). I...
18
posts

Other intermediate-advanced ruby/rails websites?
General • Asked by Boris Baskovec
Hi, I don't know if it's allowed here, to talk about other resources to learn Rails and ruby, but I'm looking for more intermediate-advanced guides and/or screencasts that are up-to-date I'm ...
4
posts

Importing datasets. Recommendations?
Databases • Asked by Brent C
I have a few datasets that I need to import into my rails app. They vary from 100 records to 5000 which will span across a few models with various associations. Q.1: I can cleanse the data prio...
6
posts

Mobile App with Devise Facebook OmniAuth
Gems / Libraries • Asked by Tang Rufus
My Rails 4 app is using Devise and Facebook OmniAuth. The web app is working perfectly. Now I want to make a iOS app to consume my rails app's API. Instead of telling iOS users to type in their...
3
posts

Pundit for RESTFUL actions on Model fields
Rails Solved • Asked by Jay Killeen
Hey does anyone know how to use Pundit to control a users ability to edit a field. I'd like all users to be able to change simple things like their name but I want admins to be the only one's who c...
4
posts

Displaying an address from a selected location
Javascript • Asked by shakycode
So in a form I have locations which are set in a `collection_select` statement in the form. Each location has a name (Dairy Queen, McDondalds, etc) and has an address in the Location model. When ...
13
posts

JSON for Rails delegated attributes?
Rails • Asked by Brian Schwartz
In one of my Rails apps, I have the following architecture (as part of a current refactoring): - Contact (a lot of attributes common to all people) - Prospect (specific attributes to just pro...
4
posts

Error Handling in Ruby 4+
Rails • Asked by Nathan La Barbera
Does anyone have any thoughts or why this might be a bad practice? I am using the following code as the last route within my routes.rb get "*path", to: redirect('/') It seems to handle very...
9
posts

Storing Constant Date in Rails
Rails • Asked by Michael Victor
What is the best way to store a set of constants like country names, currencies, city lists in a rails app? I was thinking of having a model named Constants that stores all this data and another...
3
posts

New Video Ideas
Site Feedback • Asked by shakycode
I was watching CodeSchool's "Feature Focus" the other day. This is where Greg and Carlos look at a popular site/app and pick a piece of functionality to focus on and write it themselves. They the...
1
post

Javascript frameworks videos?
Javascript • Asked by Brian Schwartz
Hey Chris, Just curious if you would plan on adding any videos using Angular, Ember or Backbone with Rails? Thanks!
12
posts

First argument in form cannot contain nil or be empty
Rails • Asked by Nathan La Barbera
Alright everyone, I would greatly appreciate your help solving this problem. Here is what I'm attempting to do; I have an articles controller and all the related views to create new article posts. ...
4
posts

Multiple Rubies using Rbenv
Ruby • Asked by shakycode
I'm having total brainfog right now with rbenv, so please excuse the newbie question. I have rbenv installed and my global ruby install is `1.9.3-p194` which I've developed multiple apps in. I'...
5
posts

Updating Rails Applications across Rails versions?
Rails • Asked by Andrew Fomera
Question, how do I go about handling the update process for my Rails apps? Example: I setup many apps with Rails 4.0.0 and currently 4.2.0 is out. What's the update process look like? I tried t...
5
posts

Any good regex rules for validation?
General • Asked by Tim Cheung
Currently, i am searching regex rules for validate url. And i am struggled how to build this from scratch. Is anyone have a good resources on this topic?
5
posts

When to use scoped models?
Rails • Asked by Tang Rufus
In `Refactoring CSV Uploads with ActiveModel::Model Download` , you make a scoped class `User::Import`. When should we use scoped class like this? And, how does it different from `rails genera...
2
posts

Is Devise always a good choice?
Rails Solved • Asked by Ryan Swapp
I am building a contest/promotion app (see my other thread) and am now to the point at which I want to add users. I've used Devise in the past, and have also rolled my own auth system. I like the c...
12
posts

Best way to render a page as a PDF
Gems / Libraries • Asked by Damon Delcoro
I have tried several methods including PRAWN to generate PDF's. It seem there must be a better way. What is you recommendation?
1
post

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.