btihen
btihen
Posts
All Blogs
Ruby
Elixir
EDgility
Crystal
Tech
Tutorials
All Tutorials
Ash Framework
Publications
Contact
About
Light
Dark
Automatic
Code
Rails 7.0 Base Setup
update GEMS library gem update –system be sure bundler is installed gem install bundler update Bundler library bundle update –bundler update Ruby rbenv install 3.1.1 rbenv global 3.1.1 or asdf install ruby 3.
Bill Tihen
Last updated on Sun, 05 May 2024
Code
,
Ruby Language
,
Rails Framework
Bridgetown 1.0 - Ruby Static-Site Orientation
A fun and straightforward way to build static sites using your Ruby & Rails knowledge
Bill Tihen
Last updated on Sun, 05 May 2024
Code
,
Ruby Language
,
Bridgetown Framework
Phoenix 1.6 Easy PETAL Stack Setup (w/ Custom Font)
Create a modern webapp with tremendous flexibility
Bill Tihen
Last updated on Sun, 05 May 2024
Code
,
Elixir Language
,
Phoenix Framework
Phoenix 1.6 PETAL Stack Setup by Hand
The underlying tooling for a PETAL Stack
Bill Tihen
Last updated on Sun, 05 May 2024
Code
,
Elixir Language
,
Phoenix Framework
Passwordless Authentication with Devise
Devise offers a lot of useful User management, but has no Passwordless Strategy - here’s how to do it
Bill Tihen
Last updated on Sun, 05 May 2024
Code
,
Ruby Language
,
Rails Framework
Rails 6.x Auth with MagicLink using SecureRandom Token
Passwordless Authentication is very convenient for users and generally as secure as passwords (according to many articles as long as the email access-links are short-lived - as email is not very secure).
Bill Tihen
Last updated on Sun, 17 Mar 2024
Code
,
Ruby Language
,
Rails Framework
Rails 6.x+ Auth with MagicLinks using Rails Signed GlobalIDs
Several simple approaches to password-less rails authentication
Bill Tihen
Last updated on Sun, 17 Mar 2024
Code
,
Ruby Language
,
Rails Framework
Rails 7.0alpha2 Test-drive
I thought it would be fun to test the new alpha version of rails - but I always forget how to do this without upgrading an existing projects. Discover the Rails Pre-release versions gem list rails --remote --prerelease -e –remote - checks the rubygems site - not the locally installed versions –prerelease - find pre-release versions -e - use an exact match (many packages have rails in the name).
Bill Tihen
Last updated on Sun, 05 May 2024
Code
,
Ruby Language
,
Rails Framework
Strategy Pattern and Lambdas
With when Controllers need to trigger a chain of complex activities, one approach to keeping the code workable is to use Command Objects, the Command Pattern and even Lambdas
Bill Tihen
Last updated on Sun, 05 May 2024
Code
,
Ruby Language
,
Rails Framework
Squished String Type (Rails 5/6)
String inputs that strip away leading, trailing and double spaces using typed virtual attributes
Bill Tihen
Last updated on Sun, 06 Nov 2022
Code
,
Ruby Language
,
Rails Framework
«
»
Cite
×