On Friday, January 22, 2016 at 6:11:34 AM UTC-5, Przemek Kosakowski wrote:
>
> Many pictures for user profile ? I can't agree but okay. If you have many 
> pictures for one user then you should create Gallery model instead of 
> Picture. Even on fb user be able to have only one profile picture. 
>
> But I don't judge, maybe your solution is effective.
>
>
> W dniu 22.01.2016 o 12:06, fugee ohu pisze:
>
> On Friday, January 22, 2016 at 6:01:33 AM UTC-5, Przemek Kosakowski wrote: 
>>
>> many pictures you mean "a few different user profile photo" or you mean 
>> "few copy of the same picture but different size/dimension" ?
>>
>> W dniu 22.01.2016 o 11:59, fugee ohu pisze:
>>
>> On Thursday, January 21, 2016 at 11:16:40 PM UTC-5, fugee ohu wrote: 
>>>
>>> This form raises undefined method `pictures_path' for 
>>> #<#<Class:0xaea3ad0>:0xbb9cb4c>
>>>
>>> <%= form_for(@picture, :html => { :multipart => true }) do |f| %>
>>>
>>>   <p>
>>>     <%= f.file_field :image %>
>>>   </p>
>>>
>>>   <p><%= f.submit %></p>
>>>
>>> <% end %>
>>>
>>>
>>>
>>   thanks, add column picture to the profile model? profiles can have many 
>> pictures 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ruby on Rails: Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to rubyonrails-ta...@googlegroups.com.
>> To post to this group, send email to rubyonra...@googlegroups.com.
>> To view this discussion on the web visit 
>> <https://groups.google.com/d/msgid/rubyonrails-talk/5b59e848-b53e-453a-a68f-9a5d335dce49%40googlegroups.com>
>> https://groups.google.com/d/
>> msgid/rubyonrails-talk/5b59e848-b53e-453a-a68f-9a5d335dce49%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>  Many pictures, not just different versions of the same picture 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-ta...@googlegroups.com <javascript:>.
> To post to this group, send email to rubyonra...@googlegroups.com 
> <javascript:>.
> To view this discussion on the web visit 
> <https://groups.google.com/d/msgid/rubyonrails-talk/7b78c961-db70-4905-8513-cf8d0fe82d11%40googlegroups.com?utm_medium=email&utm_source=footer>
> https://groups.google.com/d/msgid/rubyonrails-talk/7b78c961-db70-4905-8513-cf8d0fe82d11%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>
Yes, I'm using bootstrap-image-gallery (an extension of bluimp) Where would 
I see the table definition for Gallery model? 
 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/08d9c13f-a691-4c98-9e60-e3a4a7b73e3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to