rake db:create fails while following Windows 11 Rails setup guide
I just updated the Windows 10 and 11 guides.
You have to manually enable systemd right now, but you can start Postgres using:
```bash
sudo service postgresql start
```

6
Rails
capistrano deployment fails node and yarn is installed in the server
00:29 bundler:install
The Gemfile's dependencies are satisfied, skipping installation
00:30 deploy:assets:precompile
01 $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile
...

1
Rails
Configure Redis Session Store
The issue was that I had `secure: true` set per the documentation. This enforces ssl/https and I was in a local dev env

2
Rails
gem 'devise' error
Sorry, I can't solve it. You can relax with tiny fishing first. then, you can solve it.

2
Rails
Turboframes not replacing when placed in another partial
It looks like you need to replace the drawer code in your index.html.erb with something like
render "admin/shared/drawer"
and replace the contents of the drawer partial in your example with the d...

3
Rails
Global User for Multi-Tenancy with Local Tenant Users
Your blog is not only helpful, but it is also very creative. Thank you for being willing to share what you know with us. We'll always be grateful for what you've done here because I know you care a...

3
Rails
Structure Guidance - Multi Tenancy Authentication / Authorization
> You can set the session[:company_id] to a default when they login, or allow them to use the site under a "Personal" account without a company.
Hi folks, appreciate the commentary, it's extra ...

20
Rails
Format of created_at for date range using Searchkick
Those plain fields that aren't using `form` like `form.date_filed` always trip me up too. Small argument differences can mess up your params really easily. Thanks for sharing! :D

13
Rails
Webpacker noob - so I saw your video and im using rails 6
Figured it out
application.js
```
var jQueryBridget = require('jquery-bridget');
var Isotope = require('isotope-layout');
jQueryBridget( 'isotope', Isotope, $ );
```
Sheesh !

4
Rails
How to run rails initialization code that relies on all classes being loaded?

1
Rails
Active Storage, AWS S3 and Cloudfront
Here's what worked for me:
I chose to abandon ActiveStorage completely (don't worry, this makes things easier). Once the upload button is clicked on the client, a GET /presigned_url is sent to the ...

8
Rails
calculate leaves on yearly basis
Employee is allowed 15 leaves in year for example. My function is calculating the total leaves of allover . But I want to calculate the since joining date and when year is complete since joining da...

1
Rails