search for: articles_path

Displaying 2 results from an estimated 2 matches for "articles_path".

Did you mean: article_path
2011 May 20
3
How to handle non model data in form?
Hey, I got a form which looks like this: - form_for(@article, :html => {:multipart => true}, :url => articles_path) do |f| = errors_for(@article) .field = f.label :text %br = f.text_field :text .field = f.label :author_id %br = f.text_field :author_id .actions = f.submit But since I don''t want anyone to type in an author id I changed it to: .field = f.label...
2012 Nov 01
2
SyntaxError in Posts#index
getting this error compile error /Users/bradwrage/webapps/blog/app/views/posts/index.html.erb:5: syntax error, unexpected ''='' ...w Goal", new_post_path, class="btn btn-success" );@output_bu... ^ /Users/bradwrage/webapps/blog/app/views/posts/index.html.erb:7: syntax error, unexpected kDO_BLOCK, expecting kEND ''); @posts.each