ERB is a simple templating system for Ruby, embedding code in any plain-text document.
Update 3: It seems like this is specific to fixtures in a .yml.erb - even if I have no templated …
ruby-on-rails erb fixturesI've watched this screencast to add a page title when in a view, is there a way I can do …
ruby-on-rails ruby erbI know I could define instance variables e.g: def user_register(username, email) @username = username @email = email mail(:to =&…
ruby-on-rails ruby actionmailer erb local-variablesI'm trying to use jQuery, and everything has been great, until now, when I'm trying to render a partial and …
javascript jquery ruby-on-rails ruby erbWhy this yaml file won't parse? --- <% sensor_types = YAML.load_file('db/seed-fixtures/sensor_type.yml') %> <% …
ruby-on-rails ruby yaml erbAs I'm playing with Rails and developing views I often want to comment out code. Simple enough with classes & …
ruby-on-rails comments erb erubisI saw this recently, thought it was interesting. But I don't really understand what it does? Ex. I have a …
ruby-on-rails ruby ruby-on-rails-3 erbWhen I'm in an html.erb file, I get no snipMate snippets. I would like both HTML and Ruby, or …
ruby-on-rails vim code-snippets erb snipmate