Skip to content

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
@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.

3 participants