Getting a 403 on Ubuntu + Nginx

3
Servers
My error log outputs the following, [ 2014-11-02 04:18:12.0511 23504/7f64e6a36780 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', ...
Peter Boomsma replied

rbenv: 2.1.2 is not installed or not found

1
Servers
I'm trying to deploy my local Rails app to my Digital Ocean VPS using the GoRails guide > https://gorails.com/deploy/ubuntu/14.04 But I'm running into a error when I want to deploy: cap pr...
Chris Oliver replied

Trouble With Form Objects

6
Rails
I decided to experiment with a form object. ```ruby class Invitation include ActiveModel::Model attr_accessor( :first_name, :last_name, :email, :firm_id, :role ) vali...
Chris Zempel replied

How do I communicate if I won't hit an estimate?

2
General
Here's a situation I see come up often. New developers (I consider myself here) will always estimate wrong. They will also feel bound to their estimates as deadlines. What's the high value way t...
Chris Oliver replied

Environment setup: iTerm, dotfiles etc

8
General
Hi Chris Would you be willing to share your dotfiles? Your terminal seems so clean. Why iTerm? Do you have git information integrated into the prompt? What do you think of [YADR] (http://skwp.gith...
Chris Oliver replied

Pundit Scope and has_many through

1
Rails
Hi! I can use a little help to get on the right track. I have 3 models ```ruby class User < ActiveRecord::Base has_many :associations has_many :items, through: :associations end class It...
Chris Oliver replied

Using Pundit to build in a cool gmail-feature

5
Rails
I'm building an app with data set up similar to this: ```ruby class Company < ActiveRecord::Base has_many :products has_many :options, through: :products end class Product < ActiveRecor...
Chris Zempel replied

Likes routing error

8
Rails
I am trying to use the Likes tutorial to create Favs for locations, which are nested under stores. Here is the relevant route section ``` resources :stores do resources :locations do r...
Chris Oliver replied

How to manually manupulate data in the production database?

6
General
Hi, I just successfully deployed my Rails app to a Digital Ocean VPS, following the Deploy Rails guide on this website. Many thanks go to Chris Oliver and James Dullaghan for their help and patie...
shakycode replied

Ruby issue when doing cap deploy production

68
General
Hi, I'm following the Deploy Rails guide. However, when I run cap production deploy I'm getting this error message: $cap production deploy DEBUG[be6b6bd6] Running /usr/bin/env [ -d ...
shakycode replied

deploy Rails

2
Rails
I following the deploy rails instructions on GoRails. When I tried to install Ruby 2.1.2 with rbenv, I got this error message: "no acceptable c compiler found in $PATH" I solved it by runnin...
Anthony Candaele replied

Deploy Rails guide confusion

2
Rails
Hi, I'm deploying my Rails app, using this website's Deploy Rails guide. Something is not really clear, at the end of the guide, under the section 'Adding The Nginx Host' it says: "Open up /...
Anthony Candaele replied

Structure Guidance - Multi Tenancy Authentication / Authorization

19
Rails
I while back I was playing around building an app where you had multiple tenants (Company Model) and a single login (User Model). I then created roles (Role Model) to link the users to the tenants....
Chris Oliver replied

Announcing the GoRails Forum

4
General
Hey everyone! Today I am releasing the GoRails forum. This is the place you can turn when you need advice for how to design a feature or refactor your code. I'll be answering questions here and di...
Chris Oliver replied

valid with Context Discussion

0
General

Realtime Domain Updates with Turbo Refreshes & Morph Discussion

0
General

Ruby Scripts & IRB Discussion

15
General
Good job Collin! Quick notes: - Ruby has to already be installed to do everything in the video so maybe a link to the Install Ruby and Rails Guide if folks need help with that (https://gorails.co...
Chamika Udayanga replied

Recurring Domain Expiration Syncing Discussion

6
General
Hi Chris, I followed your video and at 6:22, I couldn't see the Turbo::Streams and Domain::SyncJob (top 2 jobs). I could see the Domain::SyncAllJob (3rd one). Inside my /domains listing page, the...
Eric Chua replied

Components with Phlex in Rails Discussion

9
General
I feel like components in Ruby are super duper handy for arguments and other complex helper methods. Phlex takes it a step further with the HTML helper methods so you don't even really have to leav...
Lee Stetson replied

Sending Emails In Production With Mailpace Discussion

0
General