Dieter Späth

Results 10 comments of Dieter Späth

I think I have a similar issue. The `compass` executable was not found (wrong gemset used) and I got a cryptic ``` events.js:72 throw er; // Unhandled 'error' event ^...

@wyattisimo Why don't you do it a little bit more verbose? ``` ruby expose :short_name, as: :name if: { kind: :short } expose :full_name, as: :name if: { kind: :full...

@monfresh & @dblock You'r using a scope as parameter for present. That's the issue. It arises within [grape](https://github.com/intridea/grape/blob/master/lib/grape/endpoint.rb#L340). To get the Class of you'r Collection Instance Grape is looking at...

grape-swagger-ui is more outdated https://github.com/d4be4st/swagger-ui_rails But even swagger-ui_rails is not up to date. I think a documentation how to download all needed scripts from swagger ui and build a simple...

@CraigCottingham this app does not include the needed js- and css-scripts for swagger-ui. The needed scripts you can find [here](https://github.com/wordnik/swagger-ui). But the question is how to get this js-scripts into...

There is an easy work around. You can use the block binding as additional parameter for instance_exec. ``` ruby def run instance_exec(host,@block.binding , &@block) end ``` > Testing, is by...

Or maybe some thing like this: ``` ruby def method_missing(method_name, *args) @block.binding.eval ("#{method_name} #{args.map{|a| a.is_a?(String) ? "'#{a}'": a }.join(',')}") end ```

I did create a small quick and dirty gist to demonstrate how the dsl could be changed https://gist.github.com/dspaeth-faber/312019ef3c8ccd1fb1d9 maybe it is of any interest. I think it would be a...

@leehambley I did workaround this issue with a custom dsl. It's now available as gem without any promises of any compatibility.