Skip to main content
Sending Emails with SMTP and Sendgrid Discussion
Try to `reload!` your console
Gabriel S. replied
21
General

Rails App configurations for AWS CodeBuild
I have a rails application that is deployed on `AWS EC2 instance` with `CodePipeline`. I have added the `Build` stage in the pipeline using `AWS CodeBuild` to build test my code. I have no idea ...
hetal sharma posted
1
Rails

How to relate such as tables of a scaffold and a model and presentation of data in the show.html.erb view of the scaffold. Rails.
You can't save `street` to the Patient model if you don't have have a column with that name. You said you were using a separate table to store the addresses, so you would need to use a nested f...
Chris Oliver replied
4
Rails

How do I do multiple uploads in Active Storage?
Hi there, I am following this tutorial to do multiple file uploads with DropboxJS but I don't know how to get multiple images belonging to a model to show in the 'show' page. Only one image show...
Arthur Truong posted
1
Rails

Having trouble setting up Bootstrap + jQuery + easyAutocomplete in Rails 6
I have been reading articles/forums and followed some guides on how to set it up however I'm still having trouble running bootstrap and jquery. Installed bootstrap, jquery and easyAutocomplete v...
Adrian0012 posted
1
Rails

Import into administrate?
Sweet. Thanks.
Martin Curiel replied
3
Rails

How do I use Devise in normal AND API mode
Hi guys, I want to use Devise for creating users with mobile app via REST API but I also want use it in classic fashion. So in API I want to return JSON and appropriate HTTP codes. Also I want to...
Jaroslav Horák posted
1
Rails

Devise: Separate pages for account update and password
Ah I am dumb, I got it working. Forgot that I needed to add the admin module in my form. Thank you for the quick reply.
Brian Gilbank replied Solved

Showing online users in chatroom sidebar
Hi I am building a website ("All-In-One") with articles publishing and a chatroom. The basic is done and apparently, everything works. So, now I'm working on better styling and details. here is th...
Bina Darabzand posted
1
Rails

Doing multiple uploads with Active Storage
Hi there, I am following this tutorial to do multiple file uploads with DropboxJS but I don't know how to get multiple images belonging to a model to show in the 'show' page. Only one image show...
Arthur Truong posted
1
Rails

Migration issues
Can I know when I run "rails db:migrate" its updating mysql and schema but not in migration folder files. Also "rails db:migrate VERSION=0" is not working...
Semicolon posted
1
Rails

Schema character set
I am new to ruby on rails, can please guide me, when I run migration my schema.rb has a character set = latin1, I wanted it to be utf8mb4, how to set this by default.
Semicolon posted
1
Rails

Sending a series of keystrokes to the terminal. (CentOS)
Hi there, I'm just trying to automate a process. We use a command line tool which is navigated by keystrokes (no mouse). I was hoping to create a ruby script to send the required keystrokes to t...
MaxwellMax posted
1
Ruby

Is it a good practice to call third party api before every controller action?
Is it a good practice if we can call a REST api on `before_action` hook of `application_controller.rb` and store the response in helper method? My Scenario is that I wanna call an API from anoth...
Ali Ahmed replied Solved
5
Rails

Install Ruby On Rails on Mac OS X 10.15 Catalina (Issue)
I know nothing How do I restart it? (Of course, it was installed using Homebrew. Not sure if that matters or wth it means.) Thanks!
WoodbineOne replied
3
Ruby


Rails Application Templates Discussion
Great video!
Devan Moylan replied
44
General

Using the Trix Editor plus File Upload Attachments Discussion
Chris' code did not work for me. This is what worked for me, given I am using webpacker: ``` /// app/javascript/packs/application.js // add this line: require("../trix_attachments.js") ...
Ben Koshy replied
49
General

rails migration warnings
Thankyou verymuch Chris Oliver
Semicolon replied
3
Rails

Draper Gem or explicitly use Decorators and Presenters?
Hi, my question is simple that sometimes I have to extend my model with methods that are usually for more advance business logics and sometimes I need some methods that are used in views (not speci...
Ali Ahmed posted
1
Rails

Subscribe to the newsletter

Join 31,353+ 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.