In Rails 3, when a scaffold is generated for instance for a \'Category\' the will be a categories_path (and a edit_category_path(@category), ...) used in the erb views.
I have some trivial markup that looks like the following: <li class=\"someclass\"> <=% t\'model.attr\' %>
I have a quite average form in Rails, trough blog_kit <% form_for(@blog_post, :html => { :multipart => true }) do |f| %>\\
Until a week ago I was happily coding html.erb files in Notepad++ with syntax highlighting. Then my hard drive crashed.
i have: <a href=\"/patients/#{@appointment.patient.id}\"> <%开发者_运维技巧=h @appointment.patient.f_name %> <%=h @appointment.patient.l_name%>
Do asp.net aspx views have tags that that work similar to the Ruby erb <% -%> ? I don\'t like all these line breaks in my asp.net mvc generated html.
I am using Puppet for automating configuration management across hosts. It can use erb templates to set up configuration files of various services like apache, postfix etc. across different hosts
I am using ERB for metaprogramming of some math language. If I could extend ERB functionality to handle %= tags, it would all开发者_如何学Pythonow me to simplify my sources significantly. I simply wan
I am attempting to pass 2 classes to an element in a rails 3 application and having some issues with encoding.
EDIT: forgot to include my environment info... Win7x64, RubyInstaller Ruby v1.9.1-p378 EDIT 2: just updated to v1.9.1, patch 429, and still getting this same error.