Commit Graph

14 Commits

Author SHA1 Message Date
nex3 cc238a740c Added Haml::Helpers#init_haml_helpers to help out people using Haml helpers out of the normal ActionView context.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@563 7063305b-7217-0410-af8c-cdc13e5119b9
2007-07-14 09:00:55 +00:00
tom 58a3836b8f Merge prerendered open tags as regular text. Most of what can be merged into
blocks of prerendered text is now merged.  New short test for making sure that
tabulation helpers are functioning properly.


git-svn-id: svn://hamptoncatlin.com/haml/trunk@555 7063305b-7217-0410-af8c-cdc13e5119b9
2007-07-13 04:03:33 +00:00
nex3 9b5d11e80b Fixed bug with variables being passed to captured blocks being forced into arrays. Thanks, Robin Ward!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@516 7063305b-7217-0410-af8c-cdc13e5119b9
2007-05-15 15:51:50 +00:00
nex3 3d177edd2f capture_haml_with_buffer shouldn't be run if we're in ERB. Fixes http://groups.google.com/group/haml?hl=en (the second bug).
git-svn-id: svn://hamptoncatlin.com/haml/trunk@515 7063305b-7217-0410-af8c-cdc13e5119b9
2007-05-12 21:33:58 +00:00
nex3 98b31319ab Local variables assigned as actual local variables, rather than methods. Based on a patch by Tom Bagby.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@511 7063305b-7217-0410-af8c-cdc13e5119b9
2007-05-10 08:12:20 +00:00
nex3 16f2729279 is_haml? gives the right result (false) for non-Haml partials. This means that form_for and stuff like that in partials should work properly.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@485 7063305b-7217-0410-af8c-cdc13e5119b9
2007-04-05 19:09:07 +00:00
nex3 ff17efc1fc Should fix interactions with other Rails plugins, namely simply_helpful. Thanks to Nate Vack.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@458 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-30 02:52:57 +00:00
nex3 0dfae72c4a Moved the generate_content_class_names helper to a new ActionViewExtensions class, and renamed it page_class.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@419 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-17 03:13:20 +00:00
nex3 34651f048c Nice formatting for form_for.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@320 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-31 03:17:57 +00:00
nex3 9846d89754 Wonderful, sensical error-reporting implemented. Yay!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@313 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-27 10:29:14 +00:00
nex3 50890f523a Fixes in trunk for Rails 1.2.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@289 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-19 02:54:40 +00:00
nex3 d10b74e7e9 Made require more sane by messing with $LOAD_PATH. Also fixed rcov in the process.
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@190 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-03 23:56:47 +00:00
nex3 01dad1e2e8 Tests work to the extent they did before reorganization.
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@187 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-03 22:37:17 +00:00
nex3 8b9e5a7bb2 Moving Haml tests into their own folder.
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@184 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-03 22:25:40 +00:00