Rails Posts

Rails 6.1 with TailwindCSS 2.0 and AlpineJS

Intro TailwindCSS is a very flexible CSS framework and makes it easy to customize unique web pages and animations. Unfortunately, with Rails its a bit tricky to install and configure with Rails Standards.

Install and Configure Rails

Intro To document is mostly for me – at least until I automate my setup defaults. However, I am glad to share and get ideas from others too. I will build a little calendar app I use with friends (it’s focused on being mobile friendly and easy to use – not a full featured calendar).

Rails Devise User Model with Roles

Configure devise (for multiple types of accounts) install the devise engine: bin/rails generate devise:install now follow the basic setup config – add to config/environments/development.rb config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } add notifications to the layout for devise in app/views/layouts/application.