How to create new contacts from nested attributes form

7
Rails
I'm building my first semi "real world" rails app (an Open House management app for real estate). I am currently stuck on a "accepts nested attributes" problem. Here are the details... (I've provid...
LucyHills replied
Solved

Implementing Highcharts in RoR

8
General
Looking for the best way to implement Highcharts in RoR. I have been spoiled by ChartKick however one of the features I need in HighCharts is the Drilldowns and the maker of ChartKick said "it's a...
MitchellThompson replied

Custom Attribute Serializers with ActiveRecord in Rails Discussion

7
General
This feels much simpler for custom value objects and surprisingly more straightforward than the official way, i.e. registering a new Active Model type. Great video, thank you.
Adrián Mugnolo replied

Rails 7.1 Authentication From Scratch - Test Helpers

1
Testing
I've implemented the Rails authentication in my 7.1 app but was wondering how to go about stubbing the `current_user` or `session` in my RSpec Request specs. I'm normally used to have a Devise or...
Chris Oliver replied

Realtime Nested Comments: Part 2 Discussion

6
General
Hey Chris, thanks for the video! I'm just wondering about the design decision to have a stream subscription for each individual comment for the broadcast removal vs broadcasting to the "container" ...
Jay Killeen replied

How will HatchBox handle manually installed software?

5
Servers
If I installed meilisearch on my server that is managed by HatchBox, how it will handle meilisearch binaries in server updates and deployments?
John Jensen replied

Tip of topic for new episode on hotwire

1
Rails
How to use turbo frames for more complex pages that has menu and sidebars that themself are at least somewhat dynamic (say user name, sidebar options that change depending of what page you are at e...
montigokylie replied

connexion between two microservices in rails

0
Rails
i have a user with devise auth micro service and i have other micro service Costs i want to create cost with user wuthenticated how i can make that connection
meryem sekkat posted

Searchkick Aggregation for has_many_through association

1
Gems / Libraries
Hey guys, I have an ecommerce product catalogue, where I store products, product options and option values in this kind of fashion: ``` # models/product.rb has_many :option_values has_many :optio...

Storing measurements for users in metric and english measurement systems

1
Databases
I am rebuilding an application that stores data for search and recovery divers. Previously, it was for a single team and we used the english measurement systems, however, now that the application i...
Chris Oliver replied

Any gems or methods for reading and writing meta tags of mp3 files?

5
General
If I wanted to have a site similar to bandcamp where I could upload MP3 tracks are there any gems or recommended ways to check the audio quality, and read/write meta tags to the files?

Esbuild

5
Rails
I'm trying to get away from Webpacker... Installed the gem JSBundling on a Rails 6.0.1.x app, followed the setup procedures to use EsBuild, and it worked. Got BootStrap 5 working with the guidance ...

How to understand the 'magic'?

0
Rails
Hey everyone, I have been working with rails thanks to the awesome courses that you have, but I want to know about what happens behind the scenes. Where can I find how Rails conventions works and h...
OsqY posted

No value provided for option '--orm' Error

2
Databases
Question: I tried to set up a polymorphic model and got the following error: no value provided for option '--orm' I'm using Rails 7 and postgresql I tried most probably solutions I found and revi...

Begineer

14
Ruby
As a beginner I don't have any idea about ruby. Can anyone tell me how to get start in ruby by gorail course from A-Z

New computer setup - having trouble getting my Cloud9 to run properly

1
General
Hey there, I am trying to run my Cloud9 Rails app on a new machine I am setting up. I was assuming that this would be painless, but I am having trouble running the app in a browser on my new machi...
chuckblake replied

Rails 7, Devise in turbo_frames

2
Rails
- Rails 7.0.6 - Devise 4.9 ## Summary - I have a pretty standard Devise setup with links in a global navbar that look like this. ``` <%= link_to('Create account', new_user_registration_path, da...
Whimere replied

Linux Signal Trapping in Ruby Discussion

0
General

Improving form_with Errors in Rails Discussion

3
General
@Collin, this was a great video, but the crown jewel was learning about the existence of <% fail %>, thank you!
LorenzoJeremy replied

See a list of videos I've completed?

3
Site Feedback
Does anyone know of a way to see a list of all the videos I've watched/marked completed? I frequently think "Shoot I saw that in one of the videos I watched, but which ones have I watched?" This ...
LorenzoJeremy replied

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

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

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