James

Results 51 comments of James

from my finding, adding this in my concern file ``` Object.send(:remove_const, :) if Object.constants.include?(:) ``` fixed the issue, but some how the model class that include this concern class will...

i tried to remove activeconcern from my concerns/tokenable.rb but i realize, when i modify this file, the actual file that include this file will not reload Example: ``` # ruby...

okay, ive a fix, can someone verify that this works with few rspec? :) it detects reloading of concern file, then find all models that include the file, and try...

please take note there is polymorphic support in reference

thanks , but what we r looking for is application layer logic to handle this

@markbates ive concern regards to fk_id using actual field name because if we use that, we may not be able to point it back to the field of the current...

okay the problem is, has_one fk_id is using actual table field name, while belongs_to fk_id is using class attribute name, i was thinking to standardise this, but i cannot change...

we can only find ways to turn has_one to use attribute name as well, but this will break existing functionality

Hi KeremKosal, i follow your configuration but im getting: ``` node_modules/.pnpm/[email protected]_4f726de02e89ff745196f225ebb1bbcf/node_modules/ant-design-vue/es/index.js:1 import * as components from './components'; ^^^^^^ SyntaxError: Cannot use import statement outside a module at compileFunction () ```