Commit Graph

6 Commits

Author SHA1 Message Date
Dillon Welch cac943e891 Add frozen_string_literal in all .rb files
I noticed these files all had strings such as "", "  ", "_" that were
allocated each time some common methods were called, over 1000x on a
page in my app. This comment freezes all of these strings such that
they're only allocated once, saving many KB of memory allocation.
2017-11-27 17:06:18 -08:00
Carlos Antonio da Silva 04778b99b4 Use private in disabled helpers, as in the others 2011-12-10 16:07:28 -02:00
José Valim 2d41fafe9b Move required to html5 component. 2011-12-05 10:44:02 +01:00
José Valim 94dab68cd7 Create more components. Make explicit the difference between helpers and components. Add default options to wrappers. 2011-12-04 14:57:12 +01:00
José Valim fcd049adc6 Convert disabled to a component. 2011-12-04 12:15:22 +01:00
Rafael Mendonça França 96275d6241 Extract disabled logic to a helper. Closes #317 2011-09-11 18:53:00 -03:00