Adding Link Integration Tests Discussion

0
General

Adding a Highlight Button to Trix Discussion

7
General
Awesome! Would actually love to see more videos on extending Trix. I've been using Froala Editor for my production applications, because Trix felt like it was lacking a lot of core functionality. M...
Dan LeGrand replied

Adding Stripe update card form, Cancel, and Resubscribe Discussion

30
General
Hello Chris! Thx for a great episode! So i noticed in this video that you updated some field on the current user to save the last 4 etc on the card. I was thinking that i could use that function to...
Neba Funwi-gabga replied

Adding headers to spans question

1
General
Hello, I am working on updating a web application for student accounts. There’s a connection to SQL server and through php we are extracting https://omegle.onl/ data as spans (first name, last nam...
jamesdon replied

Adding Exceptions To Recurring Events Discussion

4
General
thank you Chris!
spacerobotTR replied

Adding Javascript to Rails 6

7
Javascript
Hi. I am fairly new to Rails and so far I have been unsucessful at adding any JS to my Rails 6 project. I have seen many videos and tutorials but i seem to run in to the same issue. Basically I get...
Chris Oliver replied
Solved

Adding Turbolinks Compatibility to SimpleMDE Markdown Editor Discussion

8
General
I prefer to remove turbolinks because libraries dont work nice with it, but would be great to know how to make them all compatible with turbolinks.
hoppergee replied

Adding external .js files to a new Rails 6 web app

1
Rails
I have created a new rails 6 app. in rails 6, javascript folder is outside assets. I have copied all the css and js files from an existing application to this new one and application.css,applicatio...
Safwan SM replied
Solved

Adding event to date on month calendar

0
Rails
I have the calendar set up and all is working great. Right now I just have a button on the Month calendar page that says add event. The form opens and you need to select the date. I would like to a...
Jeff Wolfram posted

Properly adding Turbolinks 5 event handling

0
General
Here's what I understand: * Turbolinks preserves the `window` and `document` from request to request * As a result, I should add click/change listeners to the window/document once when the js is f...

Rails - adding nested attributes then validation fails, new nested attributes are not passed back to the :edit render

1
Rails
I have a Rails app with nested attributes. My MVC works great except when the nested validation fails. Here is my parent model controller: def update if @model.update(model_params) re...
Dan Tappin replied
Solved

Are you adding # frozen_string_literal: true to your config files

2
Rails
I was wondering if some of you are adding `# frozen_string_literal: true` to their config files?
Stéphane Paquet replied
Solved

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

Contributing to Open Source: Adding subdomains to the Addressable gem Discussion

0
General

How would you approach adding students to classes?

4
Rails
I have `SchoolClass` and `Student` resources. Students belong to classes through `ClassMemberships`. So far students have been added to classes using a grid of class checkboxes on the Edit Student ...

Advanced Messaging with Mailboxer: Adding Attachments Discussion

6
General
Perfect! Thanks!
Carl Tanner replied

undefined method `service_path' when adding best_in_place

1
Rails
I have an application that has customers and services. Customers has_many services and service belongs_to customer. In the customer show page, I can add or delete services. But I can not edit servi...

How to Contribute to Rails: Adding rich_text field generators Discussion

5
General
This is so cool. You make it look so easy, and maybe it is. I should try committing to rails too.
Sahil replied

Rails for Beginners Part 7: Adding Bootstrap CSS & Javascript Discussion

2
General
Would it make more sense to add the Bootstrap javascript bundle just before the closing body tag so the page loads faster and does not block the rendering of the page? Also, once a person visits t...
Kentastic replied

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

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

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