Search Results for ""

Lessons





















Forum Threads

Setup Ubuntu 24.04 Noble Numbat Discussion

0
General

Setup MacOS 13 Ventura Discussion

17
General
To install rbenv you also need brew install openssl@1.1 readline libyaml gmp or brew install openssl@3 readline libyaml gmp. https://github.com/rbenv/ruby-build/wiki#suggested-build-environment
Kevin Causey 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

Feature Guidance - Linked Posts

3
General
Hey Fellow GoRailers, I have a feature that I'm implementing and some guidance would be well appreciated. It's linked posts: every time a posts gets updated, a link is placed on the original repor...
Rory Walker replied
Solved

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

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

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

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 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

setup Postgres user fails

8
Databases
Hi, I'm following the Deploy Rails guide I'm now a the part where Postgres gets installed. I successfully installed Postgres, but when I try to create a new Postgres user with: createuser --...
shakycode 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

where to look for errors besides nginx error logs

3
Servers
Hi, My currently deployed Rails app seems to have issues with uploading images to Amazon S3 storage through CarrierWave. I get the familiar "We're sorry, but something went wrong." message. I ch...
shakycode replied
Solved

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

Bundle issues

2
Rails
Hi, I'm starting the forums tutorials, and I keep get this bundle error. I've tried bundle update and get the same thing: Bundler could not find compatible versions for gem "sprockets": In Gemf...
Chris Oliver replied
Solved

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

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

Attaching a Characteristic To Multiple Models

0
Rails
I've got these models: ```ruby class Firm has_many :funds end class Fund belongs_to :firm has_many :investments end class Investment belongs_to :fund has_many :investments end class C...
Chris Zempel posted

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

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

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