YukiJikumaru

Results 3 comments of YukiJikumaru

@paracycle Thank you for your reply! I understand the source code's intent, why belongs_to and has_one association are nilable. At the same time, another question came to my mind. Why...

@rafaelfranca Thank your for your advise! For confirmation, I created a new plain Rails project and generated tpioca's dsl. https://github.com/YukiJikumaru/tapioca_test/tree/v0.0.0 ``` tapioca (0.10.2) rails (6.1.7) ``` ``` # https://github.com/YukiJikumaru/tapioca_test/blob/v0.0.0/db/schema.rb ActiveRecord::Schema.define(version:...

@rafaelfranca `ActiveRecord::Base`'s instances are mutable, so it's attributes and relations are all `T.nilable`. If the design is consistent, I think that's good code! But Just my personal opinion, unsoud but...