Skip to main content

ActionCable in JumpStart project
Rails • Asked by Stefan Dippl
Hi! Is there anything special I need to consider when using ActionCable in a project created with the JumpStart template? I've followed several tutorials (e.g. ["Action Cable ‘Hello World’ wi...
2
posts

Actionable Errors in Rails 6 Discussion
General • Asked by Chris Oliver
This feature is sooo cool :D
3
posts


rvm vs rbenv
General • Asked by ken mcfadden
Hi Chris...My 2012 iMac GPU gave out and its not worth fixing..I am awaiting my new imac 27 5k. I have been using rvm for years most because I like when you download an example app to learn from...
4
posts

How to use ActionText in Rails 6 Discussion
General • Asked by Chris Oliver
Great stuff Chris! Very exciting. I also just watched the @mention episode too. To anyone reading this, a few questions: 1. Do you think we can get @mentions working on our Rails 5.2 app that...
10
posts

"You must use Bundler 2 or greater..." Error
Rails Solved • Asked by Nelson Casanova
rails -v `Rails 5.2.3` ruby -v `ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-linux]` bundler -v `Bundler version 2.0.1` On creating a new app and trying `rake db:create` i get: `You mu...
2
posts


Sending Emails with SMTP and Sendgrid Discussion
General • Asked by Chris Oliver
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.
17
posts

Help please! Error starting Rails server
Rails • Asked by FSirju
Hey guys. I am new to Rails. I have installed Rails 5.2.3. I have Ruby 2.6.3. Both are confirmed to be operational when running the --version command. I have tried to create a new rails app call...
1
post

New Project Rails 6 rc1 or 5.2.3?
General Solved • Asked by Chris Bishop
I am starting a new project soon (not a toy project) and wanted advice as to what version to start it in for Rails? Knowing i will do my best to keep it up to date with versions, should i start the...
5
posts

Display Posts on Homepage
Rails Solved • Asked by MikeLangford
I am building a social app and I want to display the content of the /posts page (index.html.erb) on the homepage if a user is logged in. The code below works just fine on the /posts page to dis...
3
posts

Install Bootstrap with Webpack with Rails 6 Beta
Javascript Solved • Asked by Shawn Wilson
For those of you who are going to give Rails 6 Beta a test run here is how I have installed Bootstrap 4.3.1 and configured with Webpack **Step 1:** `yarn add [email protected] jquery popper.js` ...
7
posts

Access the request object in a helper in a helper test (minitest)
Testing Solved • Asked by Wout
Using Rails 6 and minitest, I am testing a helper method which generates a JWT token to make a request to an external service. Inside the JWT's payload hash, I need the pass the source url. Ideally...
3
posts

How to email @mentioned users (from ep #288)?
Rails • Asked by Adam Stockland
I followed ep #288 and set up ActionText @mentions. Is there a way to automatically email the users who are mentioned?
3
posts

Action mailer rails 6
Rails • Asked by Pratima Singh
Hey Chris, cannot send email from console using UserMailer.welcome_email.perform_now, geting this error ``` Traceback (most recent call last): 1: from (irb):3 NameError (uninitiali...
2
posts

How to use Javascript via Webpacker in Rails 6 Discussion
General • Asked by Chris Oliver
Alternatively to the webpacker way of require the flatpicker css in the `packs/application.js` you can do someting like: ``` /* *= require flatpicker/dist/flatpicker */ ``` In your rail...
9
posts

How to install TailwindCSS 1.0 with Rails 6 Discussion
General • Asked by Chris Oliver
Hey Chirs! Great video, only question I have about using tailwind with rails 6 is the theme config. in the docs it says to place: ``` module.exports = { theme: { container: { ...
3
posts

switching to another ruby version
Rails • Asked by Data Khukhua
hello guys i have issue like this , i download some rails projects from github and run server but in every situation ruby version missed the project was old or not comparable with my ruby vers...
3
posts

How do I subscribe action cable receiver to a new stream without resetting the entire channel subscription?
General • Asked by Himanshu G.
I have an inbuilt chat service on my application. A signed in user will select another user to start a conversation with them. How can I send stream for this new conversation to the 2 users without...
1
post

Subscribe to the newsletter

Join 22,346+ 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.