dan.laffan PRO
Joined 11/29/2021
dan.laffan PRO said almost 2 years ago on Discussing Race Conditions :
Sometimes, race conditions cause your data to get overwritten.  I find it useful to add a
lock_version:integer
 field to my tables to help prevent this.

dan.laffan PRO said almost 2 years ago on Pow :
Hi everyone,

I tried this out (July 2022) and unfortunately, pow.cx no longer exists.

If you would like to use a "real" domain name in order to visit your Rails sites on your development environment, you can just use something like http://lvh.me:3000 - lvh.me directs to the IP address 127.0.0.1 (your localhost).  The advantages of this are

  • it accepts subdomains (so http://customer1.lvh.me:3000 works just fine), 
  • it doesn't require any configuration or software installation, and
  • It's platform independent (macOS, Linux, Windows).

Unfortunately, this isn't a solution for situations where you want to reach your development computer from your tablet or smartphone.

HTH

dan.laffan PRO said over 1 year ago on Stripe Donations :
This might be a simpler implementation of the routes:

resource :donates, only: :show do
  collection { get :thankyou }
end

dan.laffan PRO said over 1 year ago on Tailwind CSS :
HI   David Kimura ,

This was a really useful summary of TailwindCSS. I agree with you that Bootstrap seems like the better choice - a single add-in that gives you just about everything you need.

Best regards, Dan