I would love to make the photo upload at signup mandatory but when I
look at the create action of the photo controller I see
def create
@photo = @my_profile.photos.build params[:photo]
...
I cant see find this build method anywhere...
I guess the params come from
<% less_form_for [...@my_profile, @photo], :html => {:multipart=>true} do
|f| %>
...
<%= file_column_field "photo", "image", :size => 25 %>
So what my plan would be is to include this form in the singnup and
hook the build line above into the login action and pray. Would that
be a right way?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---