Skip to main content
How do I load fixtures into rails console for experimentation
Testing • Asked by Jason Brown
Is there a convenient way to access fixtures inside the rails console bin/rails console --environment=test products(:key) --> nil Products --> NameError
1
post

Markdown with image and aws support
Rails • Asked by shabbir saifee
Hi, I have integrated markdown and active storage in my rails application. Although I am sttruggling to upload markdown images to aws s3. Any help would be appreciated. Shabbir
1
post

GitHub Actions with Ruby on Rails: Setting up Continuous Integration Discussion
General • Asked by Chris Oliver
Congratulations on the video was very good, I will try today
6
posts

Admin Interfaces with Administrate Discussion
General • Asked by Chris Oliver
*shudder*.. "automagically"
25
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...
3
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...
20
posts

Direct File Uploads to S3: Part 2 Discussion
General • Asked by Chris Oliver
Hi! help me please. error loading ImageAws::S3::Errors::PermanentRedirect in PhotosController#create"The bucket you are attempting to access must be addressed using the specified endpoint. Ple...
34
posts


Thoughts on adding non-standard REST actions to a resource?
Rails Solved • Asked by Dan LeGrand
I have a `milestone` resouce that can be activated/deactivated as well as completed/reopened. Rails pushes the standard 7 actions in your controllers: index, new, create, show, edit, update, des...
5
posts

@mentions for Users with ActionText in Rails 6 Discussion
General • Asked by Chris Oliver
This is a great video. Is it possible to remove jQuery if you are using Bootstrap 4? I know it's a dependency but maybe if you are not using all aspects of Bootstrap you can remove it. Anyway...
9
posts

How do I use easyautocomplete in rails 6?
Rails Solved • Asked by Christopher
I tried adding it with yarn and through rails assets but nothings seems to work.
7
posts

How to send SMS Messages in Rails with Twilio Discussion
General • Asked by Chris Oliver
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 servic...
4
posts

Tracking Metrics with Ahoy and Blazer Discussion
General • Asked by Chris Oliver
Awesome episode! Thanks Chris!
13
posts

Moving from STI to roles
Rails • Asked by Daniel Weaver
Finding it tricky to move from STI (Single Table Inheritance) to user roles because associations between the various user roles to other resources mean different things to different user types. ...
2
posts

rails multi level marketing binary tree
General • Asked by mustafa kahveci
Hi, i have an application and that is working clear but i wanna add multi level marketing binary tree module to my application. i created binarytree page and also created add_to_column to member...
3
posts

Vue.js Components in Rails Views Discussion
General • Asked by Chris Oliver
Nice video. What about Vue state managment in Rails. When one Vue component mess with state of another Vue component?
26
posts

How do I deploy my api rails 5.2 in AWS ec2?
Rails • Asked by CassianoSF
I'm following the tutorial: https://gorails.com/deploy/ubuntu/18.04#ruby But I'm getting stuck on: 01 ArgumentError: Missing `secret_key_base` for 'production' environment, set this string with...
2
posts


S3 Storage and Active Storage Images not showing
Rails • Asked by Rob Thomas
Hey Guys, I have S3 Storage all setup and things are workin as I am getting: ``` ActiveStorage::Blob Update (0.8ms) UPDATE "active_storage_blobs" SET "metadata" = $1 WHERE "active_storage_b...
2
posts


Subscribe to the newsletter

Join 27,623+ 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.