Andres Ehrenpreis
928adab801
Code cleanup
2018-01-08 10:29:03 +02:00
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
Rafael Mendonça França
12e6d89b77
Remove all warnings of invalid CSS selector
2014-09-08 17:19:40 -03:00
John Voloski
e878330f28
improve inputs's tests description and remove 'should'
2014-05-14 14:19:06 -03:00
Rafael Mendonça França
d103329708
💄
2014-04-03 15:22:45 -03:00
Rafael Mendonça França
5ce1d04362
Only translate prompts and include_blank if value is :translate
2014-04-03 15:22:09 -03:00
Rafael Mendonça França
0b4d83082a
Merge pull request #616 from haines/include_blank_i18n
...
Add i18n for include_blank
2014-04-03 14:27:47 -03:00
Vasiliy Ermolovich
c9eb7f9b0b
collection input generates `required` attribute if it has `prompt` option
...
closes #919
2013-11-03 14:19:52 +03:00
Vasiliy Ermolovich
87323fd625
Merge pull request #827 from plataformatec/issue-826
...
collection tags accept html attributes as the last element of collection
2013-07-22 13:46:31 -07:00
Vasiliy Ermolovich
e264a43dfe
collection tags accept html attributes as the last element of collection
2013-07-22 22:33:49 +03:00
Carlos Antonio da Silva
a2286a6d6d
Cleanup user building a little bit
2013-06-24 15:46:14 -03:00
Vasiliy Ermolovich
9cb4703d87
do not introduce a new method for stubbing users
2013-06-20 22:54:17 +03:00
Anton Sozontov
22ce01333c
wrong usage of setup_new_user
2013-06-06 13:44:34 +04:00
Carlos Antonio da Silva
1c6ca9e1f7
Stylistic improvements
2013-04-13 19:52:01 -03:00
Cameron Cundiff
52f52660d9
Test aria-required on collection select input.
...
[#780 ]
2013-04-07 13:57:07 -04:00
Andrew Haines
58ce72b99f
1.9 hash syntax
2013-02-06 11:40:27 +00:00
Andrew Haines
ef81ffe713
Pluralize namespace for consistency
2013-02-06 11:36:30 +00:00
Andrew Haines
a7c3d52072
Allow :t as a shorthand for :translate
2013-02-06 11:23:14 +00:00
Andrew Haines
d502ecf14b
Allow i18n key for include_blank and prompt
2013-02-06 11:23:14 +00:00
Andrew Haines
f4c883e8fb
Add :translate setting for include_blank and prompt
2013-02-06 11:23:10 +00:00
Renato Mascarenhas
34312c9fbc
Use 1.9 hash style on code and docs.
2013-01-28 19:02:59 -02:00
Carlos Antonio da Silva
b205528aed
Split collection radio/check boxes tests as well
2012-01-26 17:06:59 -02:00
Carlos Antonio da Silva
3669bce6cf
Rename *CollectionInput to *CollectionSelectInput
2012-01-26 17:00:56 -02:00