cyrillefr
|
1d24674386
|
Fixes some Rails InverseOf offenses
|
2025-03-25 18:46:00 +01:00 |
|
Maikel Linke
|
cb3cd3e7ea
|
Cache default country simply in memory
This simplifies the code, avoids a method naming collision with Rails
and should be faster as well.
|
2024-01-04 13:45:36 +11:00 |
|
Neal Chambers
|
b76fb10d46
|
Fix Rails/HasManyOrHasOneDependent with Destroy
|
2023-10-06 10:58:49 +09:00 |
|
Maikel Linke
|
f971131888
|
Cache default country for an hour
The default country usually never changes after the initial setup of an
instance.
|
2022-11-02 15:33:43 +11:00 |
|
Maikel Linke
|
1364b878fe
|
Add ApplicationRecord for customisations
Rails 5 introduced this new class to confine application-specific monkey
patches to our models only, and not leak into other libraries using
ActiveRecord::Base.
https://bigbinary.com/blog/application-record-in-rails-5
|
2021-04-15 15:59:03 +10:00 |
|
Luis Ramos
|
43e64f3555
|
Delete dead code
|
2020-08-06 01:41:28 +01:00 |
|
Luis Ramos
|
00ae3a25f7
|
Fix easy rubocop issues
|
2020-08-06 01:18:43 +01:00 |
|
Luis Ramos
|
14358256ed
|
Bring country, zone, state and zone_member from spree together with respective specs
|
2020-08-06 01:09:35 +01:00 |
|