Dru Jensen

Results 75 comments of Dru Jensen

unfortunately, @actions is not available in the scope of the macro.

@Sdogruyol are you saying that it should be available in the macros? Let me try some things if thats true.

EDIT: Nope, false alarm. Its still not available even when I register the `action` before the `before action`

@Sdogruyol Ok. Thanks for your help. For now, I will use the only: option and pass in all the actions.

@shayneoneill @robacarp I think adding db constraints in the migration scripts would be perfect. I always hated rails for not properly supporting RDBMS constraints. We should look into this solution...

@Adam-Stomski yeah, we can add a `delete_all` here fairly easily. We can also support cascade deleting children rows on a `has_many` relationship. I guess the question is if we should...

That is an amazing observation. I've made a note in the readme.

@robacarp @Blacksmoke16 My take is that the user will not expect (Roberts' #2) an initializer to be created for me. I would not expect a not_nilable property to be nilable,...

@Blacksmoke16 thanks for the details. > column name : String gets expanded to property! name : String with the annotation applied of course. would it make more sense to use...

@Blacksmoke16 @robacarp Where did we end up with this PR? This is almost a year old and not sure what we decided.