jensljungblad / elemental_components

Simple view components for Rails 5.1+
MIT License
76 stars 5 forks source link

Attributes do not override existing view methods #11

Closed jensljungblad closed 6 years ago

jensljungblad commented 6 years ago

Attributes and elements should probably override existing methods on the view, if we choose to mix them in (delegate) as we do now. There are a lot of methods on the view, so there are a lot of "reserved" attribute names now. Normal helpers do override existing methods, so it seems reasonable.

jensljungblad commented 6 years ago

@louiced Can't reproduce this.. What version of Ruby where you running when you got this?

jensljungblad commented 6 years ago

Can't reproduce, closing.