Displaying 3 results from an estimated 3 matches for "latest_post".
Did you mean:
latest_posts
2007 May 09
5
layouts + routes = confused
I''m new to RoR and the tutorials I''ve found on the web, while helpful,
aren''t as "complete" as I''d like them. I understand the basics when
it comes to layouts and routes, but I''m trying to get them to work
together.
MY first task was to implement a user authentication system
(registration/login/logout/change_password). This works fine with
2011 May 25
0
Issues implementing jquery-form plugin for displaying image via an ajax call in my rails poc
...t;/b><br />
<label id="post_msg"><%= f.text_field :message %></label>
</p>
<%= f.file_field :photo %>
<p>
<%= f.submit "Create" %>
</p>
<% end %>
<div id = "latest_post"></div>
<% for post in @posts %>
<%= image_tag post.photo.url(:thumb) %>
<table>
<tr><td><%=h post.message %></td></tr>
</table>
<br/> <hr/>
<% end %>
My create.js.erb...
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
2011 May 20
4
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
...id]},:html => {:multipart => ''true'', :id => ''new_post''} do |f|
-%>
Start Discussion:<%=f.text_field :message%>
<%=f.file_field :photo%>
<%=f.submit "Post" %>
<%end%>
<div id = "latest_post"> </div>
<%for a in @group_all_posts %>
<%= image_tag a.photo.url %>
<%= a.message %> by <%= Investor.find(a.post_by).first_name %> <div
class ="contentdispgrp" id="style_chck"> <%=
distance_of_time_in_words(a.created_a...