Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention Rails 7.1 isolation_level config #218

Merged
merged 1 commit into from Jan 30, 2024

Conversation

santib
Copy link
Contributor

@santib santib commented Jan 27, 2024

The other day I was trying Falcon for the first time on a I/O bound Rails app. While I was testing I started seeing very strange errors when doing simple DB queries (PostgreSQL), for example primary_key not found for table x. Fortunately, after some research, I realized I needed switch a new Rails 7.1 config. When I did that I was amazed to see how everything started to work just fine, and feeling grateful we have an evented web server ready to be used along with Rails (thanks 馃檶).

I added the config change to the top of the docs so we make sure nobody makes the same mistake, but I'm wondering if this should be turned on automatically by falcon using a Railtie?

Types of Changes

  • Documentation

Contribution

Copy link
Contributor

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this sounds super. Thank you for sharing your experience.

@ioquatix
Copy link
Member

I've also proposed adding support for this using rails new --server falcon.

rails/rails#50917

@ioquatix ioquatix merged commit aa2344d into socketry:main Jan 30, 2024
20 of 23 checks passed
@ioquatix ioquatix mentioned this pull request Jan 30, 2024
3 tasks
@trevorturk trevorturk mentioned this pull request Feb 1, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants