Single Table Inheritance (STI) with ActiveRecord in Rails Discussion
> I'm just curious if these types of situations are ones that Gitlab would utilize STI, or how would the Gitlab dev team handle implementing a feature like this?
We still have some models leve...
Maxime Orefice
replied
7
General
Rails I18n Cheatsheet Discussion
Hey everyone! Check out this Rails I18n (Internationalization tunnel rush) cheatsheet I found. It's been super helpful for managing translations in my projects. Thought I'd share the love. What are...
Juan Jacobson
posted
1
General
Sharing Passwords Between Users Discussion
Hello ROR developers, anyone facing a error when try to delete a user that you share a password ?
----------- code
def destroy
@password = current_user.passwords.find(params[:password_id]).des...
Diego Cuenca
replied
3
General
http://localhost:3000/admin
Chris Oliver,
the code for articles, cats, lists, posts is not displayed. Please can you help me find the error.
http://localhost:3000/admin/
http://localhost:3000/admin/articles
http://localhost:...
Srđan Vidović
replied
2
Rails
How to use Solid Queue in Rails with Active Job Discussion
Hello Chris,
We can have many dispatcher and workers. Like the same, can we have multiple supervisor?
Anush Kumar
replied
12
General
Refactoring our Ruby code Discussion
A github repo for these types of lessons would have been handy.
Tahir Khalid
replied
3
General
Scraping Web Pages with Ruby Discussion
Keep watching. Nokogiri is just an HTML parser, but you need to write code to interact with it, which is why we create the Scraper class.
Chris Oliver
replied
2
General
Action Cable with Puma, Nginx, Docker Swarm
All the tutorials I've found use puma for development and then passenger for production. But I wanted my environments to be the same!
Looking at the rails log and searching for /cable helped. The...
endtoendpaper
replied
8
Servers
How do I prevent ActiveRecord::PreparedStatementCacheExpired errors during deploys?
This is helpful. Thx. As a thank you, you can visit suika game at any time.
DavidCormier
replied
3
General
convert from svg to png in active storage
After the conversion process, consider optimizing the PNG images and compress image (https://jpeg-optimizer.com/) files for better performance. This can significantly reduce file size without sacri...
patersonchristian
replied
3
Rails
Conditionals in Ruby Discussion
Hey Jessica! Thank you so much for the extremely kind words regarding this lesson! Your comment made my day and I'm very happy to hear that showing things in the context of an actual project really...
cjilbert504
replied
15
General
Blog Posts with File Uploads using ActiveStorage & Amazon S3 Discussion
Hi , found problem with Action Text. For example, we have a blog model with a content field (action text field). We have attached the image (at this point it has been uploaded to amazon s3) and are...
Vladholovchak
replied
22
General