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...punkt1 posted
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...Marc Guerrero replied
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...Shreyas S replied • Solved
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 ...lionnel Patrick posted
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...Rizal Yusoff replied
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 ...Polina Resenchuk posted
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 ...codecabinaustralia posted
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...Harris Mariano posted
Install Ruby On Rails on Mac OS X 10.15 Catalina (Issue)
This forum is completely worthlessWoodbineOne replied
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?Bukenco posted
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.Semicolon posted
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...MaxwellMax posted
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...Ali Ahmed posted
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...Lauren B posted
How to make rails associations work
I fixed it by changing the params from clinics_attributes: [:id, :clinic_logo, :clinic_name, :clinic_address, :clinic_zip_code, :clinic_municipality, :clinic_about, :clinic_mail, :clini...Kasper Valentin replied • Solved