-
Using rails 2.3.3 and rspec 1.2.6, my view is simply this:
```
= render :partial => "layouts/resources"
```
My rspec test looks like this:
```
require File.expand_path(File.dirname(__FILE__) + …
-
> You may want to reuse Haml's parser at first if #-starting line (or any other non-Haml syntax) can be considered as just a special case of plain text lines. In that case, you may want to use haml_pa…
-
Error occurred in initial setup with default data when trying to view /demo/admin/piggybak_giftcerts~buyable_giftcert
An ActionView::Template::Error occurred in main#index:
undefined method `sku' fo…
-
It would be really nice to be able to use Haml for template files. (Yes, I know it's an interpolation-based language, but the syntax is lots nicer than plain HTML.) The only Effigy+Haml solution I've …
-
I tried to start hamlpy by django 1.11 python 2.7.16. The package was installed 'pip install hamlpy' and followed [instructions ](https://github.com/jessemiller/HamlPy) for setting.
Settings of pro…
-
```
I'm not seeing the source code indent properly.
I initialize pHAMLp like this:
$haml = new HamlParser(array('format' => 'html5', 'ugly' => FALSE, 'style' =>
'nested'));
I call the HAML template…
-
As of Django 1.8 the TEMPLATE_LOADERS setting was merged into TEMPLATES. As per Django's documentation it now looks something like this:
```
TEMPLATES = [
{
'BACKEND': 'django.template.bac…
-
After I installed, I got an error because:
Processing HomeController#index (for 98.248.151.145 at 2009-11-23 13:23:30) [GET]
ActionView::MissingTemplate (Missing template home/index.erb in view path a…
-
In _engine_name/engine_name.gemspec_, I added:
`s.add_dependency "haml-rails"`
In _engine_name/lib/engine_name.rb_, I added:
`require "haml-rails"`
In _engine_name/lib/engine_name/engine.rb_, …
-
```
I'm not seeing the source code indent properly.
I initialize pHAMLp like this:
$haml = new HamlParser(array('format' => 'html5', 'ugly' => FALSE, 'style' =>
'nested'));
I call the HAML template…