Comments (4)
The rails commit that changed the call is rails/rails@02c814c
I added a line note on that commit there with a suggested fix.
This was just released with the railties 4.1.0.rc1 gem
from haml-rails.
This is fixed in rails/rails#14132, and is not a bug in this gem (it's horrible to support two method signatures, and I would much rather avoid it).
from haml-rails.
Awesome, thanks.
from haml-rails.
The fix for this issue (rails/rails@3624ff7) did not make it into the 4.1.0.rc1 release but it is in 4-1-stable.
- https://github.com/rails/rails/blob/v4.1.0.rc1/railties/lib/rails/generators/erb.rb
- https://github.com/rails/rails/blob/4-1-stable/railties/lib/rails/generators/erb.rb
Confirmed that generators don't work for haml-rails (0.5.3) using rails (4.1.0.rc1) but they work with rails (4-1-stable) as of now.
from haml-rails.
Related Issues (20)
- Relax required_rubygems_version? HOT 11
- ActionView::TemplateError Undefined method 'html_tag' for rails 3.2.18 HOT 2
- Deprecation warning on Rails 6.0.0.rc1 HOT 3
- Support Hamlit (2x faster haml implementation) HOT 1
- Update README and gemspec to indicate Rails 5 requirement
- Using :erb filter multiple times repeats all previous :erb filter content. HOT 1
- .text.haml files have html escaped content HOT 1
- ActiveSupport::SafeBuffer from .html_safe behaves weirdly
- clarify in the readme the significans of ActionView::DependencyTracker.register_tracker :haml
- [Feature] Support for annotate_template_file_names HOT 7
- 【依頼】ChatSpace挙動確認 HOT 2
- content_for fails to sanitize input when using HAML
- uninitialized constant Haml::Rails::Railtie::SourceAnnotationExtractor (NameError) HOT 1
- Add HAML to watcher for Rails 7 apps using Tailwind? HOT 2
- Rails 7.0.1 + Turbo, scaffold generator, app/views/RESSOURCE/index.html.haml
- Running tests against version 2.1.0 causes errors HOT 2
- Version 2.1 not including converters? HOT 3
- options[:format] = :xhtml not working
- Rails 7.0.4 + ActionText + Haml-Rails 2.1
- Issue with Ruby 3.2 + Rails 7 + haml-rails 2.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haml-rails.