Bundler And PG Error On Deployment

10
Rails
Hi, I followed every step of the deployment but when I get to 'cap production deploy', some errors appear : ``` 01 /home/deploy/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bu...
Damian Nelwep replied

Setup Errors for Rails on MacOS 10.14 Mojave

3
General
Hello everyone! I have already installed Ruby Environment, but each time I try to install Rails on MacOS, it's giving me the following errors: Jerricas-MacBook-Pro:test_app jerricajohnson$ rails...
Chris Oliver replied

Rails for Beginners Part 24: OmniAuth 2.0 URLs Discussion

53
General
I get an error `No route matches [GET] "/auth/twitter"` -- feels like some rails magic I missed :/
Philipp S. replied

How to use Dev Containers with Rails Discussion

20
General
Pretty excited about this because it makes Rails development so much easier to start for beginners or for teams using various operating systems. I also forgot to mention, there is a `devcontainer`...
Chris Oliver replied

Recurring events with the ice_cube gem Discussion

47
General
On my app I use a Event and a EventTrans model so for each time a event occurs we can have a record with info and other stuff. So for the Calendar we display the First event with the recurrent on t...

Search Filters with ElasticSearch Aggregations Discussion

21
General
This has been very helpful for a project I'm working on. Thank you. On mine, I wanted to add checkboxes to be able to select multiple keys. For anyone else looking to do the same, the solution I ca...
Lucas Moraes replied

How to send SMS Messages in Rails with Twilio Discussion

5
General
Great intro! We use Twilio to send SMS notifications to our users. Question - I set up the Twilio client in an initializer. Is there any advantage to this over setting it up in the Twilio service ...

How to write System Tests in Rails Discussion

18
General
Really loving this testing series. I've been using RSpec for years but it looks like Minitest now covers a lot of the functionality that made me choose RSpec back then. One of the things I don't l...
Brian Gilbank replied

Should I rewrite my app?

3
Rails
Before you shout "NO!!" hear me out. I think this may be one of the those cases where a rewrite is reasonable. Our current application: * is 6 years old * is currently on Rails 3.2.14 and Ruby 2.0...
Daniel Weaver replied

SEEKING FREELANCER - Javascript configuration

17
Javascript
I have been trying for 4 years and 3 months to try to setup a basic rails app. I have bought 10+ books, subscribed to this and several ohter subscription services to try to learn the basics of rai...
Melanie replied
Solved

Extend Sprockets to bundle mustache templates

3
Rails
I'm trying to include some Mustache templates into the main JS bundle. The idea is to take `/app/templates/*.mustache` files, generate a JSON object, and set a window-level variable, like this: ``...
Solved

Who is using Hashicorp Otto?

7
General
Hi All, I've recently gotten back into my rails development after some Salesforce related projects at my work. In that time I had to format my laptop from Ubuntu to Windows 10. I've been struggli...

How to use Bootstrap with Webpack & Rails Discussion

50
General
Thanks for posting this and the previous video on using tailwindcss. It's helpful to see the main themes reinforced in each of the videos. One thing that I'm struggling with is what seems like a vi...
bradley replied

How do I allow a user to make multiple payments on one booking using Stripe?

38
General
I'm building an events app using Rails and Stripe to handle payments. I've used javascript for my booking page in order to allow a user to book and pay for multiple spaces rather than just one at a...
Chris Oliver replied
Solved

Select Or Create Field With Selectize.js Discussion

22
General
Awesome! Would love more episodes like this. :)
Rafal Siepak replied

[ActiveRecord::RecordInvalid - Validation failed: Blog must exist]

6
Rails
Hi, trying to sort out this error for a while now, no luck. I get this error above when adding a new comment for a blogpost. The blog is clearly there. Any insight would be much appreciated. _...
Solved

Comments With Polymorphic Associations Discussion

98
General
Awesome Video. I really liked and refreshed my concepts about Polymorphic Associations. Thanks :)
Karl McCollester replied

Sending Emails with SMTP and Sendgrid Discussion

27
General
jajajaj Chris Your the man. I was just switching from my simple gmail account to using sendgrid and now this episode show up. :) very very happy.
Meron Ogbai replied

How to add logo image to mailer

7
Rails
Hi how can we add image from my assets to the email like my logo when sending email to the users.

Logic on nested forms/related tables

2
Databases
I'm trying to improve my modles for an existing scenario, but I just can't get my head around it. The situation is that I want to list a range of coffee's and include the country and region of the...
Simon Cooper replied

Want to stay up-to-date with Ruby on Rails?

Join 91,226+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.