Re: [Rails] adding pictures to an object that hasn't been saved yet?

2018-04-30 Thread David Merrick
Hi, I'm a newbie to Rails but I have completed Micheal Hartls Tutorial on
Ruby on Rails https://www.railstutorial.org and have several websites.
Micheal Hartls tutorial uses microposts which include texts and or a
picture which is then saved into Database.

The ability to add pictures at the start or later depends not only on how
you set up the Database but also the pages responsible for getting and
adding data to the Database.

Before you build any website you need to plan what and how that website
does things. Failure to do so results in time consuming rebuilds if you
want to extend anything you want your website to do.

I agree if you are  an experienced Rails programming you should be giving
back more than you get. That is  how you get more developers using Ruby on
Rails

Cheers Dave

On Mon, Apr 30, 2018 at 8:26 PM, fugee ohu  wrote:

>
>
> On Wednesday, April 25, 2018 at 3:57:06 AM UTC-4, Colin Law wrote:
>>
>> Can I ask you a question Fugee?  First allow me to make a point. You have
>> been posting here for over three years I think.  When someone starts using
>> Rails then obviously they may well be asking a number of questions and that
>> is what this list is for.  Typically after a few months experience I would
>> expect to see members starting to answer questions from those less
>> experienced than themselves as well as still asking questions about more
>> complex issues.  After a year I would expect the contributions to be mostly
>> helping others with only occasional questions of their own, and after three
>> years I would expect to see 99% of the contributions being helping others
>> and 1% asking questions.  That is how a list like this survives, newbies
>> and less experienced members getting help from more experienced members,
>> and over a period of time as they gain experience themselves they repay the
>> help from the community by providing help themselves.
>>
>> So my question is, in the last year how many times have you provided help
>> to others here and how many times have you asked for help for yourself?
>>
>> Colin
>>
>> On 25 April 2018 at 08:38, fugee ohu  wrote:
>>
>>> I see on craigslist or ebay we can add pictures before submitting a post
>>> or auction On ebay you can't submit an auction without at least one image
>>> So how would I let my users add images to something that hasn't been saved
>>> yet?
>>>
>>> tag: steps
>>>
>>> --
>>> 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/ms
>>> gid/rubyonrails-talk/19a0fb36-7871-4203-8e5e-670ced7c3a7b%
>>> 40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
> There just aren't enough newb questions for me to answer Most questions
> are either over my head or just not things I've already done
>
> --
> 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/c2c63ace-a88a-4f10-911b-
> 2b09622ca3dd%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Dave Merrick

Daves Web Designs

Website *http://www.daveswebdesigns.co.nz/
*

Email merrick...@gmail.com

Ph   03 216 2053

Cell 027 3089 169

-- 
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/CA%2B%3DMcKajAboxKqAYiGjEbsfwoVR2ogqZ41%3DUnP-ANTPtA7jRzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] adding pictures to an object that hasn't been saved yet?

2018-04-30 Thread fugee ohu


On Wednesday, April 25, 2018 at 3:57:06 AM UTC-4, Colin Law wrote:
>
> Can I ask you a question Fugee?  First allow me to make a point. You have 
> been posting here for over three years I think.  When someone starts using 
> Rails then obviously they may well be asking a number of questions and that 
> is what this list is for.  Typically after a few months experience I would 
> expect to see members starting to answer questions from those less 
> experienced than themselves as well as still asking questions about more 
> complex issues.  After a year I would expect the contributions to be mostly 
> helping others with only occasional questions of their own, and after three 
> years I would expect to see 99% of the contributions being helping others 
> and 1% asking questions.  That is how a list like this survives, newbies 
> and less experienced members getting help from more experienced members, 
> and over a period of time as they gain experience themselves they repay the 
> help from the community by providing help themselves.
>
> So my question is, in the last year how many times have you provided help 
> to others here and how many times have you asked for help for yourself?
>
> Colin
>
> On 25 April 2018 at 08:38, fugee ohu  
> wrote:
>
>> I see on craigslist or ebay we can add pictures before submitting a post 
>> or auction On ebay you can't submit an auction without at least one image 
>> So how would I let my users add images to something that hasn't been saved 
>> yet?
>>
>> tag: steps
>>
>> -- 
>> 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/19a0fb36-7871-4203-8e5e-670ced7c3a7b%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
There just aren't enough newb questions for me to answer Most questions are 
either over my head or just not things I've already done

-- 
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/c2c63ace-a88a-4f10-911b-2b09622ca3dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] adding pictures to an object that hasn't been saved yet?

2018-04-30 Thread fugee ohu


On Wednesday, April 25, 2018 at 3:57:06 AM UTC-4, Colin Law wrote:
>
> Can I ask you a question Fugee?  First allow me to make a point. You have 
> been posting here for over three years I think.  When someone starts using 
> Rails then obviously they may well be asking a number of questions and that 
> is what this list is for.  Typically after a few months experience I would 
> expect to see members starting to answer questions from those less 
> experienced than themselves as well as still asking questions about more 
> complex issues.  After a year I would expect the contributions to be mostly 
> helping others with only occasional questions of their own, and after three 
> years I would expect to see 99% of the contributions being helping others 
> and 1% asking questions.  That is how a list like this survives, newbies 
> and less experienced members getting help from more experienced members, 
> and over a period of time as they gain experience themselves they repay the 
> help from the community by providing help themselves.
>
> So my question is, in the last year how many times have you provided help 
> to others here and how many times have you asked for help for yourself?
>
> Colin
>
> On 25 April 2018 at 08:38, fugee ohu  
> wrote:
>
>> I see on craigslist or ebay we can add pictures before submitting a post 
>> or auction On ebay you can't submit an auction without at least one image 
>> So how would I let my users add images to something that hasn't been saved 
>> yet?
>>
>> tag: steps
>>
>> -- 
>> 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/19a0fb36-7871-4203-8e5e-670ced7c3a7b%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
You recently had to point out to me that I was answering a question that 
was very old If I see something I know the answer to I provide help, yes 

-- 
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/4de60cc5-cf5f-4d92-8c0f-01812720c483%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] adding pictures to an object that hasn't been saved yet?

2018-04-30 Thread fugee ohu


On Wednesday, April 25, 2018 at 3:57:06 AM UTC-4, Colin Law wrote:
>
> Can I ask you a question Fugee?  First allow me to make a point. You have 
> been posting here for over three years I think.  When someone starts using 
> Rails then obviously they may well be asking a number of questions and that 
> is what this list is for.  Typically after a few months experience I would 
> expect to see members starting to answer questions from those less 
> experienced than themselves as well as still asking questions about more 
> complex issues.  After a year I would expect the contributions to be mostly 
> helping others with only occasional questions of their own, and after three 
> years I would expect to see 99% of the contributions being helping others 
> and 1% asking questions.  That is how a list like this survives, newbies 
> and less experienced members getting help from more experienced members, 
> and over a period of time as they gain experience themselves they repay the 
> help from the community by providing help themselves.
>
> So my question is, in the last year how many times have you provided help 
> to others here and how many times have you asked for help for yourself?
>
> Colin
>
> On 25 April 2018 at 08:38, fugee ohu  
> wrote:
>
>> I see on craigslist or ebay we can add pictures before submitting a post 
>> or auction On ebay you can't submit an auction without at least one image 
>> So how would I let my users add images to something that hasn't been saved 
>> yet?
>>
>> tag: steps
>>
>> -- 
>> 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/19a0fb36-7871-4203-8e5e-670ced7c3a7b%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
To answer my own question I decided to let the first image be an attachment 
to the savable object and additional pictures will instances of 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-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/d1763172-b407-409e-aa6e-d8484d2d8112%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] adding pictures to an object that hasn't been saved yet?

2018-04-25 Thread Colin Law
Can I ask you a question Fugee?  First allow me to make a point. You have
been posting here for over three years I think.  When someone starts using
Rails then obviously they may well be asking a number of questions and that
is what this list is for.  Typically after a few months experience I would
expect to see members starting to answer questions from those less
experienced than themselves as well as still asking questions about more
complex issues.  After a year I would expect the contributions to be mostly
helping others with only occasional questions of their own, and after three
years I would expect to see 99% of the contributions being helping others
and 1% asking questions.  That is how a list like this survives, newbies
and less experienced members getting help from more experienced members,
and over a period of time as they gain experience themselves they repay the
help from the community by providing help themselves.

So my question is, in the last year how many times have you provided help
to others here and how many times have you asked for help for yourself?

Colin

On 25 April 2018 at 08:38, fugee ohu  wrote:

> I see on craigslist or ebay we can add pictures before submitting a post
> or auction On ebay you can't submit an auction without at least one image
> So how would I let my users add images to something that hasn't been saved
> yet?
>
> tag: steps
>
> --
> 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/19a0fb36-7871-4203-8e5e-
> 670ced7c3a7b%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAL%3D0gLsU6NMsWYB5jOabaLWeUpaAqb8WPkKhM8CXjY7ViFRk7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.