Ruby combinations with ruleset ?
Hey iam trying to figure out how i could limit my combinations of objects.
**My problem:**
I want to generate x teams with the most "point" outcome of 432 players, max team size is 7 players. E...

1
Ruby
Rails for Mac OS Catalina
Thank you, Chris for such a speedy reply.
I already did a manual "gem install mysql2" and I get this:
"ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension."
Under...

3
General
Rails 6 - What Javascript/CSS Framework is good for me?
Dear community,
since I'm not a good javascript programmer and new to Rails 6 (especially webpacker), I'm looking for a good framework for the whole fancy shit (Slider/Datepicker/Autocomplete/.....

1
General
Working with action cable and remote redis server on development
I further inspected redis via ``redis-cli monitor`` and found out that ``ActionCable.server.broadcast`` publishes messages to local redis even though the remote redis url is mentioned in ``cable.ym...

2
Rails
How to for Devise user to update password after first login?
Hello, I'm a newbie on Rails.
I use devise for the authentification and i want to force all new users to changer thier default password at the first connexion.
I also want them to update thier ...

1
Rails
Websockets with Rails(Passenger) - Error during WebSocket handshake: Unexpected response code: 400
I have also looked into the production.log on the server and this is the error that was recorded:
```
WebSocket error occurred: One or more reserved bits are on: reserved1 = 1, reserved2 = 0, r...

3
Rails
Exciting Job Opportunity - Ruby on Rails | Los Angeles based | Are you interested?
I am searching for engineering talent for a few open roles with innovative, growing, employee-centric companies disrupting a variety of exciting industries, prioritizing Ruby on Rails. All of them ...

1
Ruby
How do I send a javascript array to my controller?
Hello everyone, is there any way I can send a javascript array straight to my rails controller?
Thx!

1
Rails
How do I send an image or file to an API
What's best practice to send an image or pdf to an API endpoint?
**Scenario:**
I have a vuejs app I want to send an image or PDF to a Rails api application. The I want to use active storage to ...

1
General
How to validate model attribute
Hello everyone, question.
I have the following code:
class Country < ActiveRecord::Base
has_many :cities, dependent: :destroy
accepts_nested_attributes_for :cities
end
class City...

1
Rails
Install Ruby On Rails on Mac OS X 10.15 Catalina (Issue)
This forum is completely worthless

4
Rails
Criipto service integration in Rails app
Hello, i want to integrate Criipto service in my Rails app. I tried different ways, like auth0, openid an so on, but can't. anny suggestion how to do this?

1
General
Schema character set
I am new to ruby on rails, can please guide me, when I run migration my schema.rb has a character set = latin1, I wanted it to be utf8mb4, how to set this by default.

1
Rails
Sending a series of keystrokes to the terminal. (CentOS)
Hi there, I'm just trying to automate a process. We use a command line tool which is navigated by keystrokes (no mouse).
I was hoping to create a ruby script to send the required keystrokes to t...

1
Ruby
Draper Gem or explicitly use Decorators and Presenters?
Hi, my question is simple that sometimes I have to extend my model with methods that are usually for more advance business logics and sometimes I need some methods that are used in views (not speci...

1
Rails
Collection and Vars in Controller are different than what's rendered in View
I'm having a really odd issue and have tried tons of things, but just cannot figure out why this is happening and how to change it.
I have a collection of resources that I render on an index pa...

1
General