Giter VIP home page Giter VIP logo

ejx's People

Contributors

bemky avatar malomalo avatar

Watchers

 avatar  avatar  avatar  avatar

ejx's Issues

HTML Attribute Interpolation Bug

Example

<div class="pad-right [[= is_lg ? "pad-top-lg" : "pad-top" ]] border">

Should be something like:

<div class="pad-right pad-top-lg border">

But is:

<div class="pad-top-lg">

Rails 7.1 Obfuscates Errors

For example, when missing comma in object

const detailsEl = createElement({
    class: 'foo'
    content: 'hello world'
})

Results in:

Puma caught this error: undefined method `map' for nil:NilClass (NoMethodError)
/opt/homebrew/lib/ruby/gems/3.2.0/gems/activesupport-7.1.2/lib/active_support/syntax_error_proxy.rb:41:in `backtrace_locations'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/exception_wrapper.rb:274:in `build_backtrace'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/exception_wrapper.rb:56:in `initialize'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/exception_wrapper.rb:290:in `new'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/exception_wrapper.rb:290:in `block in wrapped_causes_for'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/exception_wrapper.rb:286:in `causes_for'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/exception_wrapper.rb:290:in `each'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/exception_wrapper.rb:290:in `map'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/exception_wrapper.rb:290:in `wrapped_causes_for'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/exception_wrapper.rb:51:in `initialize'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/show_exceptions.rb:35:in `new'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/show_exceptions.rb:35:in `rescue in call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/railties-7.1.2/lib/rails/rack/logger.rb:37:in `call_app'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/railties-7.1.2/lib/rails/rack/logger.rb:24:in `block in call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/activesupport-7.1.2/lib/active_support/tagged_logging.rb:135:in `block in tagged'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/activesupport-7.1.2/lib/active_support/tagged_logging.rb:39:in `tagged'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/activesupport-7.1.2/lib/active_support/tagged_logging.rb:135:in `tagged'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/activesupport-7.1.2/lib/active_support/broadcast_logger.rb:240:in `method_missing'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/railties-7.1.2/lib/rails/rack/logger.rb:24:in `call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/remote_ip.rb:92:in `call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/request_id.rb:28:in `call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/method_override.rb:24:in `call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/runtime.rb:22:in `call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/activesupport-7.1.2/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/server_timing.rb:59:in `block in call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/server_timing.rb:24:in `collect_events'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/server_timing.rb:58:in `call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/executor.rb:14:in `call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/actionpack-7.1.2/lib/action_dispatch/middleware/static.rb:25:in `call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/sendfile.rb:110:in `call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/railties-7.1.2/lib/rails/engine.rb:529:in `call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/puma-5.6.4/lib/puma/configuration.rb:252:in `call'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/puma-5.6.4/lib/puma/request.rb:77:in `block in handle_request'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/puma-5.6.4/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/puma-5.6.4/lib/puma/request.rb:76:in `handle_request'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/puma-5.6.4/lib/puma/server.rb:441:in `process_client'
/opt/homebrew/lib/ruby/gems/3.2.0/gems/puma-5.6.4/lib/puma/thread_pool.rb:147:in `block in spawn_thread'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.