SQL Learning Path - Having Statements Discussion

4
General
I have a question about replacing `store_id` with `stores.name` if we add JOIN to the query (4:50 for example). Would it be valid replacement if there are multiple stores with the same name but obv...
Mark Kavanagh replied

Javascript not working in production

5
Rails
I am using Rails 7 with importmap, everything works fine in development, but in production none of the javascript works. Specifically, my channels files are of the "wrong MIME type" giving a 404, ...
Derek Hobson replied

Activerecord adapter for sqlserver is loaded AFTER connection attempt is being made (?)

0
Databases
Hi! I am deploying a rails 7 app (7.2.2) on ruby 3.3.5 with an AR adapter for sqlserver (activerecord-sqlserver-adapter). As of version 7.2 the adapters have to to register themselves with AR in o...
Mark Hapke posted

Struggle with Rails 7, esbuild, and Tailwind CSS Asset Loading

3
Rails
Recently, I ran into an issue while setting up **esbuild** and **Tailwind CSS** in my Rails 7 app. Despite following all the recommended steps, my **stylesheets** and **JavaScript files** simply wo...
Florian Osterhus replied

Fatal - not a git repository on server (deployed with Capistrano)

0
Rails
Some time recently, my app started throwing `fatal: not a git repository (or any of the parent directories): .git` on the server. It shows up if I ever remote in and run a bundle exec command (e.g....
Matthew LS posted

JOB Opening:ROR DEVELOPER_INDIA AND US(East Coast)

3
Ruby
Hi Everyone, We are looking for ROR Developer for our company Kiwitech (www.kiwitech.com) Candidate should be a hard coder in ROR, should be capable of building a project from scratch. Should be...
Derek Hobson replied

OCR

7
General
I am not a programmer!! But I create specifications for them. We are looking to add smart OCR to our ROR app. By smart, I mean that can read, pair, and export tabular data from a scanned/exported...

I need recommendation for ecommerce store

3
General
Hi, I need a recommendation for Hosting as cPanel is easy to manage but is not a good option for an ecommerce store as I would have limited control and do have performance and security issues. Whe...

Adding a Blog Post Destroy Action and Refactoring Discussion

8
General
Does asdf support ruby > 3.2.0 on Mac Ventura 13.1?

Health Check Endpoint in Rails 7.1 Discussion

0
General
This is fantastic to have out of the box in Rails. Hosting can now have a place to look and we don't have to do anything custom. šŸ‘

Form with references field

1
Rails
I have a form with references field: <%= form.label :name, style: "display: block" %> <%= form.text_field :name %> <%= form.label :city_id_id, style: "display: block" %...

Patching Models for Ransack 4.0.0: Extending ActiveRecord for Gem Compatibility Discussion

4
General
thanks for sharing!

How to upgrade to Rails 7.1 Discussion

4
General
any anyone else having issues with sidekiq after upgrading from `7.1.0.beta1` -> `7.1.0.rc1` ``` undefined method `broadcast' for ActiveSupport::Logger:Class => gems/sidekiq-7.1.4/lib/sideki...

Action Cable with Puma, Nginx, Docker Swarm

6
Servers
I setup a DigitalOcean Ubuntu 22 droplet to host a docker swarm with containers for a rails app, postgress, and redis. Iā€™m not able to get action cable to work with puma and nginx. I see errors in ...

How do I generate SEO Friendly URL's for filter combinations in Rails?

6
General
I have a site where the user can apply a combination of multiple filters. To improve the SEO on the site I would like to have the URL in a human-readable format when filters are applied. I would ...
Derek Hobson replied

How to translate and localize apps with Rails Internationalization (18n) Discussion

17
General
This was really great, thank you! Can you provide a link as to what you need to sanitize the variable you passed in, name? Looking forward to the next episode!

Testing Rails ActionCable Channel

1
Rails
I followed along with the Online user tracking with ActionCable and was able to get it all working. I replicated a similar channel in another app and again it works great, however when I came to te...

Populate dropdowns based on selection

4
Javascript
I'd like to get people's thoughts on the best approach. I'd like to have a search ability where once a selection if made, the next dropdown box populates with only the available options from the d...
Chris Oliver replied

Installing ruby_opencv gem results in cannot find opencv_contrib error

5
Gems / Libraries
I am trying to install the ruby_opencv gem but it can't find opencv_contrib. I used the command 'gem install ruby-opencv -- --with-opencv-dir=/mnt/c/Users/wjones/sites/musclesound-rails/opencv/my_b...
William Jones replied

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

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

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