Mitch VanDuyn

Results 207 issues of Mitch VanDuyn

Currently if an record or one of its relationships is loading when you try to save the record, an error will be raised. This is due to the following lines...

bug

for example `policy.send_all_but(nil).to(Application)` should work. It doesn't because it tries to convert nil to a symbol and fails. This is handy for a case like this: `policy.send_all_but(production_job? && :ship_by_date).to(Application)` Otherwise...

enhancement
good first issue

Jquery is no longer imported by the hyperstack rails installer, so it has to be done as a manual step in the tutorial. Add these lines: ``` Hyperstack.import 'jquery', client_only:...

needs doc

When using hyperspec + capybara + chrome with browser + binding.pry you can get errors if you try to run a capybara command in pry that fails. For example `find('.class-that-does-not-exist')`...

needs doc

Not completely sure why this is happening, but at the JS level column values that are of type text or string, get turned into JS String objects (i.e. `new String(s)`)...

Consider this case: ```ruby MuiLab::Autocomplete(size: :small, options: Model.all) .on('', &:text) .on('') { |params| Mui.TextField(params, label: 'Add Item').to_n } .on(:change) { |_, option| mutate @value = option } ``` Here the...

its just too long... We will do both, and then let evolution decide which we keep...

currently react.js component class wrapping the ruby class gets a componentDidCatch function. This makes react.js think that every component is a error boundry, which means that nested errors do not...

Currently, the first time a ruby component class is passed to createElement, a wrapper react.js component class is created (see react/api.rb) The lifecycle methods in the wrapper class then call...

For example ```ruby # add the class funky to any DIV class FunkyDiv < Hyperloop::Component collect_all_other_params_as :opts render do opts = params.opts.dup opts[:class] = "funky #{opts[:class]}" DIV(opts, &children) # &children...