Commit Graph

960 Commits

Author SHA1 Message Date
Rafael Mendonça França
cd4feb31ce Merge pull request #11341 from arunagw/added-missing-actionview-to-install
Added description in actionview gemspec.
2013-07-25 07:12:11 -07:00
Joel Cogen
1424873948 text_area should handle nil value option like text_field 2013-07-24 08:39:17 +02:00
Carlos Antonio da Silva
1c4eb13345 Leave the knowledge of boolean tag values to content tag
content tag already knows which tags are boolean and the values that
should generate them when a truthy value is passed, so leave this logic
for it instead of duplicating when generating options tags.
2013-07-22 14:39:45 -03:00
Carlos Antonio da Silva
b973852feb Use merge! to avoid a new hash and change some spots to 1.9 hash style 2013-07-22 14:36:10 -03:00
Carlos Antonio da Silva
c23c193a84 Fix changelog syntax and use Ruby 1.9 hash style [ci skip] 2013-07-22 14:36:09 -03:00
Karunakar (Ruby)
afa5445060 syntax fix for f.select doc. [ci skip] . 2013-07-22 18:04:50 +05:30
Vasiliy Ermolovich
cadfe4bf45 add support for html attributes to grouped_options_for_select 2013-07-20 17:14:28 +03:00
Yves Senn
eda66d89c7 Merge pull request #11508 from vipulnsward/extract_constants
Extract verbs array from helper to a contant
2013-07-20 01:46:10 -07:00
Vipul A M
30ca90a0b6 Extract verbs array from helper to a constant 2013-07-20 01:32:58 +05:30
Vipul A M
ad3916d133 Fix test name typos 2013-07-19 20:15:14 +05:30
Rafael Mendonça França
ebc5bdb8e7 Use the canonical router on the CHANGELOG entry
Thanks @egilburg

[ci skip]
2013-07-18 10:35:15 -03:00
Arun Agrawal
507c803a93 Added some description to generate actionview gem [ci skip] 2013-07-17 10:19:13 +02:00
kennyj
ca85caca0d Fix default rendered format problem when calling render method without :content_type option. Closes #11393. 2013-07-15 02:11:43 +09:00
Rafael Mendonça França
4b6886a140 Merge pull request #11383 from mattdbridges/simple-format-doc-fix
Fix simple_format output example ending tag
2013-07-09 12:12:08 -07:00
Matt Bridges
7e1cb39f72 Fix simple_format output example ending tag 2013-07-09 14:09:26 -05:00
Arun Agrawal
d6da0dc3f2 Removed unused require from actionview rakefile. 2013-07-09 00:10:24 +02:00
Rafael Mendonça França
b18a27375a Add CHANGELOG entry for #11348 2013-07-07 14:26:20 -03:00
Rafael Mendonça França
9eeb3cc040 Merge pull request #11348 from sanemat/fix/link-to-block
Fix actionview link_to with block and url_hash
2013-07-07 10:02:39 -07:00
Rafael Mendonça França
09f6fe1cd4 Fix "Stack Level Too Deep" error when rendering recursive partials
When rendering recursive partial Action View is trying to generate the
view digest infinitly causing a stack level error.

Fixes #11340
2013-07-07 13:44:16 -03:00
sanemat
bcc30d8f2f Include block in a argument shift 2013-07-08 00:35:14 +09:00
Takayuki Matsubara
06388b0779 Added an enforce_utf8 hash option for form_tag method
Control to output a hidden input tag with name `utf8` without monkey
patching

Before:

    form_tag
    # => '<form>..<input name="utf8" type="hidden" value="&#x2713;" />..</form>'

After:

    form_tag
    # => '<form>..<input name="utf8" type="hidden" value="&#x2713;" />..</form>'

    form_tag({}, { :enforce_utf8 => false })
    # => '<form>....</form>'
2013-07-07 23:49:38 +09:00
sanemat
f71b075d6c Fix link_to with block and url_hash
Use link_to with block and url_hash, expect block as name.
But ignore block and use url_hash as name.
3-2-stable passes this test. 4-0-stable and master fail this.
2013-07-07 23:21:47 +09:00
Arun Agrawal
06ad30758c RUNNING_UNIT_TESTS file is in rdoc [ci skip] 2013-07-06 22:49:16 +02:00
sanemat
56e3419fef Remove action view test duplication
Same test exists above 2 or 3 lines.
2013-07-07 00:59:30 +09:00
Carlos Antonio da Silva
6b9356a4b7 Remove the deprecated include_seconds argument from distance_of_time_in_words
Pass in an :include_seconds hash option to use this feature.
2013-07-02 22:46:23 -03:00
Vipul A M
38aafc0377 Remove FormBuilder deprecation warning about block argument and associated tests 2013-07-02 02:06:39 +05:30
Santiago Pastorino
4eedb3928e Clean the code a bit 2013-06-29 21:20:08 -07:00
Jon Rowe
53eb9fdd9c fetch value(s) from stringified options 2013-06-29 19:32:13 +10:00
Carlos Antonio da Silva
e16ad2db8c Review AV changelog [ci skip] 2013-06-27 15:39:17 -03:00
kennyj
94c72c45bb Remove passing the prompt to grouped_options_for_select as an argument, because it was deprecated. 2013-06-28 03:11:00 +09:00
Yves Senn
4f1a7dc956 Merge pull request #11141 from keydunov/master
Fix documentation for grouped_collection_select
2013-06-27 11:09:00 -07:00
kennyj
77cb37cc74 Fix copyright year for actionview [ci skip] 2013-06-28 01:05:08 +09:00
Artyom
2137f8842b Fix documentation for grouped_collection_select [ci skip] 2013-06-27 19:52:37 +04:00
Arun Agrawal
c4f588213b Minor changes to actionpack/actionview Rakefile 2013-06-26 10:22:10 +02:00
Carlos Antonio da Silva
f410c13bf8 Refactor cache fragment handling with read/write methods 2013-06-25 20:51:02 -03:00
Andrew Rove
f341acdae3 Move the write portion of fragment_for to its own method to allow for easier creation of custom cache methods. 2013-06-25 20:46:02 -03:00
mariozig
bf044a9bbe Fix typo in docs. HABTM associations should use a pluralized name 2013-06-25 15:35:03 -07:00
Carlos Antonio da Silva
f02d4ddc99 Merge pull request #11046 from arunagw/verbose_mode_on
Verbose mode on when running tests
2013-06-25 15:15:43 -07:00
Ryan Williams
7acbe60328 Comment typo 2013-06-25 14:34:51 -04:00
Rafael Mendonça França
035e2976d0 Add CHANGELOG entry for #10971
[ci skip]

Conflicts:
	actionpack/CHANGELOG.md
2013-06-24 16:21:54 -03:00
Arun Agrawal
d88b390dfd Adding verbose in isolated test. 2013-06-21 14:14:36 +02:00
Arun Agrawal
6f4d9ab823 Adding verbose mode to test_with_ar_integration 2013-06-21 14:12:13 +02:00
Arun Agrawal
67f668845e Saying gemcutter => rubygems [ci skip] 2013-06-21 11:04:52 +02:00
Łukasz Strzałkowski
d6b1caa8f2 Check if malformed fixture exists first
Now if somebody by mistake will remove malformed files test will raise error.
2013-06-20 23:38:38 +02:00
Łukasz Strzałkowski
08998d2eec Restore mistakenly removed malformed file fixtures 2013-06-20 23:35:48 +02:00
Łukasz Strzałkowski
8b57b78c09 Rename AP to AV in info about running tests 2013-06-20 19:12:17 +02:00
Łukasz Strzałkowski
633f84c899 Bump up version, fix module name 2013-06-20 19:11:32 +02:00
Łukasz Strzałkowski
d1fb5d5949 Adjust changelog for AV & AP 2013-06-20 19:06:52 +02:00
Łukasz Strzałkowski
1d59e94cea Remove heading from AV's CHANGELOG 2013-06-20 19:01:26 +02:00
Łukasz Strzałkowski
194aebb02d Fix isolated tests on AV 2013-06-20 18:24:50 +02:00
Łukasz Strzałkowski
995e9c41a5 Remove require to AP stuff that left 2013-06-20 17:23:17 +02:00
Łukasz Strzałkowski
6241513736 Fix digestor tests 2013-06-20 17:23:16 +02:00
Łukasz Strzałkowski
c815775d01 Copy company test fixture to AV (fixes failing test) 2013-06-20 17:23:16 +02:00
Piotr Sarnacki
f12109448b Remove unneeded test fixtures in AV 2013-06-20 17:23:16 +02:00
Piotr Sarnacki
b01331e392 Add actionpack as actionview's development dependency
ActionView still relies on ActionPack in some of the tests.
2013-06-20 17:23:16 +02:00
Piotr Sarnacki
5e5bf31b4a Remove unneeded files 2013-06-20 17:23:16 +02:00
Piotr Sarnacki
eb23754ebb Move template tests from actionpack to actionview 2013-06-20 17:23:16 +02:00
Piotr Sarnacki
5bcdf4faa6 ActionView version should be 4.1.0 2013-06-20 17:23:15 +02:00
Piotr Sarnacki
0d6e8edc2a Move actionpack/lib/action_view* into actionview/lib 2013-06-20 17:23:15 +02:00
Piotr Sarnacki
78b0934dd1 Add bare actionview gem to the root directory
This commit creates structure for Action View gem and is first of a
series of commits extracting Action View from Action Pack.
2013-06-20 17:23:15 +02:00