Save 36% for Black Friday! Learn more

Ruby on Rails Community Forum

Urgent question

0
General
I'm new to rails and can list any questions, hope to be looking for help in the right place. I need to embed an IFRAME in the SHOW of my app, but it doesn't obey. There is simply no content in the ...
Roseiro posted

How can I add third party plugin in rails 6?

0
Rails
My application.html.erb looks like this. I just want to remove all cloudfare(cdnjs) external link from application.html.erb. Instead of that I just want to use it in application.js . Because I dont...
Siva Ganesh posted

Using Flexbox to arrange images

1
General
I'm working on my first web dev portfolio and I have currently have two screenshots of websites I've made. I'd like them to display very simply, gallery-style, so that on a larger screen they are i...
Dan Mitchell replied

Polymorphic Search

0
Databases
I have a basic model structure like this: ``` class History < ActiveRecord::Base belongs_to :historical, polymorphic: true, touch: true end ``` with several related models: `has_many :histo...
Dan Tappin posted

Remove default gem (bundler)

0
General
Hey everyone, Using multiple versions of Ruby over multiple applications for work and seem to be having some gem set issues. In particular Bundler which is defaulted to a version I need to update ...
HenltonGomes posted

How can i Configure my Trix Editor / ActionText field?

2
General
Is there a way to add / delete buttons from the tool bar for action_text? For eg, I'd like to add more semantic header levels (h2-h4).
Christopher replied
Solved

How do I structure a Bookings table for two models?

0
Databases
I've primarly built out support to book a flight, and now I'm looking to offer the ability to book a hotel as well. I'm looking for some insight on the best way to model this: Currently there is a...
Taylor Cooney posted

Go! Svelte + Sapper + Rails

1
Javascript
Hi, Chris! Let's start learning Svelte + Sapper ?? Plus!!!!
AA replied

Jumpstart pro configuration question

2
General
Hi, I am relative newbie so apologies if this is a stupid question. I want to use jumpstart pro to build out an app. It has a lot of what I need out of the box. What I am trying to figure out is wi...
Col replied

Devise on Heroku

0
Rails
Hello, I have been implementing device JWT with rails 6.0 API . I have used this callback to protect from fogery requests, On the applicationController ``` protect_from_forgery unless: -> { requ...
Moses Gathuku posted
Solved

How do construct remember me after login ?

0
Rails
In my login-in form in have a params 'remember me' . How do i read its value in controller . biggest problem i m facing right now. ``` Log In <%= form_with url: sessions_path...
Minimalstics posted

Service worker view patch does not working in cached

0
Gems / Libraries
I want to add a view file inside cached but it doesn't work. How to call view Patch in cache? //serviceworker.js.erb ar CACHE_VERSION = 'v1'; var CACHE_NAME = CACHE_VERSION + ':sw-cache-'; functi...
abdul544 posted

remove a powered by link left by my developer.

0
General
i am new to ruby/ror i had a developer create me a site (still in progress) and the developer left a "powered by" link on my site and i want to remove it ( i pay for domain name,hosting, developmen...
david posted

Markdown with image and aws support

0
Rails
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
shabbir saifee posted

Thoughts on adding non-standard REST actions to a resource?

4
Rails
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, destr...
Dan LeGrand replied
Solved

Noob question: how hard is it to build automated "abandoned cart" emails?

1
Ruby
I know the bare bones and work with a developer. trying to connect my mailchimp with our site, which is built on rails. is this a tough task ? how long should it take to develop? any info helps T...
Chris Oliver replied

Sub-site Authentication? (FAQ / KB / Helpdesk etc.)

12
Rails
Does anyone have a suggestion to integrate your main Devise based Rails app with a secondary related site? In my example I have a standard Rails app behind authentication with Devise. I want to a...
Dan Tappin replied

Rails 6 and jQuery ui

0
General
Hi at all, I'm Davide and I started to learn Rails since about one week. I'm tryng to add Jquery ui selectable functionality to my project but I cannot load jquery-ui in webpack. Can you help me pl...
Davide posted

Help with service objects

0
Rails
Hey guys in my project i need to refactoring my code. I using service objects but i need to help to send params from services to controller. I have nested_atribbutes and i need to help
Victor Giraldes posted

Seeking Ruby on Rails Developers

0
Rails
I am seeking a Ruby on Rails developer to join a leading e-commerce client on either a permanent or contract basis. Our client is leading the way with exclusive partnerships and introducing ble...
stephen hamilton posted

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.