Murray Steele

Results 11 comments of Murray Steele

Note, this isn't a bug to do with forms and checkboxes, per se. It's to do with accessing boolean attributes via associations. See #84.

Just FYI: this is the same issue as #83. The above fix means you'll never be able to chain simple boolean searches off associated objects. e.g. (assuming a User with...

change is not the only event not triggered. For this bug to be fixed we'd need to trigger focus, blur, change and possibly click, keyup, keydown and keypress as well...

I'm conflicted about this. Sure it's neat, but I think a DSL like this obscure the underlying details and make things feel more like magic. I think it'll make it...

@jonleighton Sure, that wouldn't work, but some other construct could. I'm thinking that the block passed to action would always be the contents of call and there'd be some other...

Anyway, until I've used it in anger (with or without any DSL), my comments should probably be taken with the saltiest pinch of salty salt.

I suspect there's a better way of asking a model class for it's underscored name (perhaps table_name?) and have that deal with slashes caused by namespacing. That said, basically it...

Unfortunately, not without a lot more monkey patching of how active record works. I'll have a think about it, as I think that in some cases we do want the...

@fofr I haven't removed SRI from the admin template, and it doesn't look like anyone else has either. If it's causing lots of problems because of publishers working on networks...

We just turned on `stubbing_non_existent_method :prevent` in our app and started getting random failures on CI with some of our tests that us `respond_like_instance_of` with an `ActiveRecord::Base` model. Looking at...