On 11 February 2016 at 03:08, Walter Lee Davis wrote:
> ...
> In order to do this (no matter which file attachment system you choose) you
> will need to refactor your application slightly. You need a model instance
> *per* image uploaded, so the usual way to do this is with
> On Feb 10, 2016, at 10:34 PM, Alexis Marie wrote:
>
> Hey Walter. Thanks for all of the help!
>
> I went through all of your steps. What should I write on my view page?
>
>
>
>
If you want to show all the images for a listing, the simplest thing is:
<%-
> On Feb 10, 2016, at 6:52 PM, Alexis Marie wrote:
>
> Hey there, I want to be able to upload multiple images at once on my
> website. I can only upload one image at a time at the moment. Can
> anybody lead me in the right direction? Here's my code
>
>
>
>
>
>
>
Hey there, I want to be able to upload multiple images at once on my
website. I can only upload one image at a time at the moment. Can
anybody lead me in the right direction? Here's my code
/app/models/listing.rb
class Listing < ActiveRecord::Base
has_attached_file :image, :styles => {
4 matches
Mail list logo