Nathan Benes

Results 7 issues of Nathan Benes

I've come across a situation where I'd like to have a date for "The friday that follows X". So if "X" is a tuesday, I want it to be the...

When trying to define a dupe of 'address' it doesn't seem to be interpreting it correctly (maybe something to do with the pluralization parser?) ``` >> Dupe.define :address do |addr|...

I'm getting this error: ``` Dupe::Network::Mock::ResourceNotFoundError in 'User#find_by_id should return nil if the id is not correct' Failed with 404: the request '/v1/users/202.xml' returned nil. ``` But my code in...

I'm running into an issue where I want to override a `GET` request's response xml with a little customization, but I don't seem to be able to. From `script/console`, here's...

As the title suggests, when you bind an event using this syntax: ``` $('.my-parent-element').on('click', '.child-element', function(e){ // Do cool things }); ``` This doesn't work: ``` expect($(".child-element")).toHandle('click') ``` But this...

I'm getting an error on rails 6.1 when I try to use `rake db:schema:load:with_data` with the error: rake aborted! NoMethodError: undefined method `schema_dump_path' for primary:Module Did you mean? schema_up_to_date? /home/zifnab/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/data_migrate-9.2.0/lib/data_migrate/database_tasks.rb:84:in...

In firefox when I use the following maphilight call: ``` $('.map').maphilight({ fill: false, stroke: false, shadow: true, shadowPosition: 'outside', shadowFrom: 'fill', shadowRadius: 25, shadowColor: '2077c8', shadowOpacity: 0.9 }); ``` The...