Ruby on Rails Saturday, September 30, 2017

Hi, is anyone using this to host their website images? 

It seems to be what I'm looking for.  I can add my own tags, captions & meta data, but I'd hopefully like to retrieve all that from the api.



Thanks,
Joe

--
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+unsubscribe@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/abecef2f-a019-4fc0-a283-2c70898eff69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

On Sat, Sep 30, 2017 at 10:17 AM, Joe Guerra <JGuerra@jginfosys.com> wrote:
> I haven't really learned much about testing rails apps. I've only heard a few things, like factory-girl, r-spec, etc...
>
> What about selenium, I'm looking at a course (but it's more QA).

What about starting here: http://guides.rubyonrails.org/testing.html

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
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+unsubscribe@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/CACmC4yCivE20niS6tBhdLYM_Q_gwq9UoYrpz1%3DeJNY9eD3AVbA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

That should be part of the framework you come up with.
Every UX design has this.
You need to define a framework and then kickstart it.


---

Thanks,

Mohan G

On Sat, Sep 30, 2017 at 11:11 PM, Joe Guerra <jguerra@jginfosys.com> wrote:
I've looked into ux design,  but I find that the subject is very subjective.  What appeals to me, might not appeal to others.  I mean, if you break down websites, you basically have menus (navigation)  and some forms ( maybe some tables.




On Sep 30, 2017 1:35 PM, "Krishna Gundala" <gmk.india@gmail.com> wrote:
Ther are either ways, service level testing and UI experiencing testing.
According to me, it would be best to stick for UI experience.
As this is the intail stage for your testing.. it would be best to adopt BDD to it.
 

---

Thanks,

Mohan G

On Sat, Sep 30, 2017 at 10:58 PM, Joe Guerra <jguerra@jginfosys.com> wrote:
No idea, if it's part of the development life cycle I would imagine that I need to be familiar with the process. 

Maybe it's a good skill to have, or not sure if I should focus more on the design / user experience stuff.  

Thanks, 
Joe 

On Sep 30, 2017 1:20 PM, "Krishna Gundala" <gmk.india@gmail.com> wrote:
What kind of testing are you looking for?

---

Thanks,

Mohan G

On Sat, Sep 30, 2017 at 10:47 PM, Joe Guerra <JGuerra@jginfosys.com> wrote:
I haven't really learned much about testing rails apps.  I've only heard a few things,  like factory-girl, r-spec, etc...

What about selenium, I'm looking at a course (but it's more QA).



Thanks,
Joe

--
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+unsubscribe@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/c1c809ec-155e-4ea2-b853-faf0db3fedb3%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+unsubscribe@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/CAMszB6yrrp_JZXHhyXEpdQPitJ2MYT8Y0E6Dq1TrsgviD8R6jg%40mail.gmail.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+unsubscribe@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/CAOFgAMnH7AvfRtMQQi1ptUeABN9m1xM4rgZnfx2GmJBuhR2m1g%40mail.gmail.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+unsubscribe@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/CAMszB6xrG8abZ%3D%3DrjCy9et3n5-JP6-R1xMRYygbgXmTSWC1%3D5g%40mail.gmail.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+unsubscribe@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/CAOFgAMmQLKLuGeLeV4Sm74s1TsTn0DuXxkMs%3DeWfgCg9HLvhjw%40mail.gmail.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+unsubscribe@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/CAMszB6yt_sX0HwgOFPT5qUq1qR3rHzmtPDC38pA9fvkNyCG4Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

I've looked into ux design,  but I find that the subject is very subjective.  What appeals to me, might not appeal to others.  I mean, if you break down websites, you basically have menus (navigation)  and some forms ( maybe some tables.




On Sep 30, 2017 1:35 PM, "Krishna Gundala" <gmk.india@gmail.com> wrote:
Ther are either ways, service level testing and UI experiencing testing.
According to me, it would be best to stick for UI experience.
As this is the intail stage for your testing.. it would be best to adopt BDD to it.
 

---

Thanks,

Mohan G

On Sat, Sep 30, 2017 at 10:58 PM, Joe Guerra <jguerra@jginfosys.com> wrote:
No idea, if it's part of the development life cycle I would imagine that I need to be familiar with the process. 

Maybe it's a good skill to have, or not sure if I should focus more on the design / user experience stuff.  

Thanks, 
Joe 

On Sep 30, 2017 1:20 PM, "Krishna Gundala" <gmk.india@gmail.com> wrote:
What kind of testing are you looking for?

---

Thanks,

Mohan G

On Sat, Sep 30, 2017 at 10:47 PM, Joe Guerra <JGuerra@jginfosys.com> wrote:
I haven't really learned much about testing rails apps.  I've only heard a few things,  like factory-girl, r-spec, etc...

What about selenium, I'm looking at a course (but it's more QA).



Thanks,
Joe

--
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+unsubscribe@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/c1c809ec-155e-4ea2-b853-faf0db3fedb3%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+unsubscribe@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/CAMszB6yrrp_JZXHhyXEpdQPitJ2MYT8Y0E6Dq1TrsgviD8R6jg%40mail.gmail.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+unsubscribe@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/CAOFgAMnH7AvfRtMQQi1ptUeABN9m1xM4rgZnfx2GmJBuhR2m1g%40mail.gmail.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+unsubscribe@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/CAMszB6xrG8abZ%3D%3DrjCy9et3n5-JP6-R1xMRYygbgXmTSWC1%3D5g%40mail.gmail.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+unsubscribe@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/CAOFgAMmQLKLuGeLeV4Sm74s1TsTn0DuXxkMs%3DeWfgCg9HLvhjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Ther are either ways, service level testing and UI experiencing testing.
According to me, it would be best to stick for UI experience.
As this is the intail stage for your testing.. it would be best to adopt BDD to it.
 

---

Thanks,

Mohan G

On Sat, Sep 30, 2017 at 10:58 PM, Joe Guerra <jguerra@jginfosys.com> wrote:
No idea, if it's part of the development life cycle I would imagine that I need to be familiar with the process. 

Maybe it's a good skill to have, or not sure if I should focus more on the design / user experience stuff.  

Thanks, 
Joe 

On Sep 30, 2017 1:20 PM, "Krishna Gundala" <gmk.india@gmail.com> wrote:
What kind of testing are you looking for?

---

Thanks,

Mohan G

On Sat, Sep 30, 2017 at 10:47 PM, Joe Guerra <JGuerra@jginfosys.com> wrote:
I haven't really learned much about testing rails apps.  I've only heard a few things,  like factory-girl, r-spec, etc...

What about selenium, I'm looking at a course (but it's more QA).



Thanks,
Joe

--
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+unsubscribe@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/c1c809ec-155e-4ea2-b853-faf0db3fedb3%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+unsubscribe@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/CAMszB6yrrp_JZXHhyXEpdQPitJ2MYT8Y0E6Dq1TrsgviD8R6jg%40mail.gmail.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+unsubscribe@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/CAOFgAMnH7AvfRtMQQi1ptUeABN9m1xM4rgZnfx2GmJBuhR2m1g%40mail.gmail.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+unsubscribe@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/CAMszB6xrG8abZ%3D%3DrjCy9et3n5-JP6-R1xMRYygbgXmTSWC1%3D5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

No idea, if it's part of the development life cycle I would imagine that I need to be familiar with the process. 

Maybe it's a good skill to have, or not sure if I should focus more on the design / user experience stuff.  

Thanks, 
Joe 

On Sep 30, 2017 1:20 PM, "Krishna Gundala" <gmk.india@gmail.com> wrote:
What kind of testing are you looking for?

---

Thanks,

Mohan G

On Sat, Sep 30, 2017 at 10:47 PM, Joe Guerra <JGuerra@jginfosys.com> wrote:
I haven't really learned much about testing rails apps.  I've only heard a few things,  like factory-girl, r-spec, etc...

What about selenium, I'm looking at a course (but it's more QA).



Thanks,
Joe

--
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+unsubscribe@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/c1c809ec-155e-4ea2-b853-faf0db3fedb3%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+unsubscribe@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/CAMszB6yrrp_JZXHhyXEpdQPitJ2MYT8Y0E6Dq1TrsgviD8R6jg%40mail.gmail.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+unsubscribe@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/CAOFgAMnH7AvfRtMQQi1ptUeABN9m1xM4rgZnfx2GmJBuhR2m1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

What kind of testing are you looking for?

---

Thanks,

Mohan G

On Sat, Sep 30, 2017 at 10:47 PM, Joe Guerra <JGuerra@jginfosys.com> wrote:
I haven't really learned much about testing rails apps.  I've only heard a few things,  like factory-girl, r-spec, etc...

What about selenium, I'm looking at a course (but it's more QA).



Thanks,
Joe

--
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+unsubscribe@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/c1c809ec-155e-4ea2-b853-faf0db3fedb3%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+unsubscribe@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/CAMszB6yrrp_JZXHhyXEpdQPitJ2MYT8Y0E6Dq1TrsgviD8R6jg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

I haven't really learned much about testing rails apps. I've only heard a few things, like factory-girl, r-spec, etc...

What about selenium, I'm looking at a course (but it's more QA).



Thanks,
Joe

--
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+unsubscribe@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/c1c809ec-155e-4ea2-b853-faf0db3fedb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Why not use docker?

--
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+unsubscribe@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/d1acbaf6-463c-4b84-bde4-ccbc58b201f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails Friday, September 29, 2017

On Fri, Sep 29, 2017 at 8:55 AM, Ben Edwards <login@funkytwig.com> wrote:

> The data transformation(table) will be changed fairly regularly (i.e. if I
> spot a venue listing that should not be included I define a transformation
> rather than delete it manually, this way if a similar thing happens again it
> will automatically be removed. As the data comes from external listings
> sites and facebook groups the transformation will need constantly tweaking
> based observations. It may be I have to do this by loading the data into
> staging tables and process them.

If your reference data is *not* immutable load-one-time-only then
your change/transform/whatever process should live and run on the
production server.

A "staging" server is for realistic testing of your *procedures* that will
run on production, not doing data transformation to export.

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
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+unsubscribe@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/CACmC4yDAy3p0J3GijW7ERapNJhCKuyyPzdDeSsCQgPoJwjfmcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Using seed.rb, from what I can gather, can only add data (i.e. if record already exists it creates duplicates). 

The data transformation(table) will be changed fairly regularly (i.e. if I spot a venue listing that should not be included I define a transformation rather than delete it manually, this way if a similar thing happens again it will automatically be removed.  As the data comes from external listings sites and facebook groups the transformation will need constantly tweaking based observations.  It may be I have to do this by loading the data into staging tables and process them.  Just looking for some pointers.

Ben

On Friday, September 29, 2017 at 4:32:58 PM UTC+1, Hassan Schroeder wrote:
On Fri, Sep 29, 2017 at 7:57 AM, Ben Edwards <lo...@funkytwig.com> wrote:
> In my application I have reference data tables that I setup on my staging
> server and then when it is tested I want to move it to production.

So use only the reference data to seed the production database.

Is this something you expect to have to do more than once? Will the
reference data change over time? If it's a one-off thing I'd probably
just do a DB dump of the relevant tables and be done with it...

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
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+unsubscribe@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/30cbf996-c637-4828-a777-a58a0245adf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

On Fri, Sep 29, 2017 at 7:57 AM, Ben Edwards <login@funkytwig.com> wrote:
> In my application I have reference data tables that I setup on my staging
> server and then when it is tested I want to move it to production.

So use only the reference data to seed the production database.

Is this something you expect to have to do more than once? Will the
reference data change over time? If it's a one-off thing I'd probably
just do a DB dump of the relevant tables and be done with it...

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
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+unsubscribe@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/CACmC4yC-%3D_vap2XRC9RQ_tyQKdTUM_81mJqFvwjPO9kBkxhcbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

And rightly so, it violates basic activerecord principles and may well break stuff. 

On Monday, September 25, 2017 at 6:22:12 AM UTC+1, Cassio Almeida wrote:
Hey guys, how do I manually update created_at and updated_at attributes at the time of object creation, I already know that this does not work:

post = Post.new(
  title: "Hello",
  body: "Hello World!",
  created_at: mycreatedate, 
  updated_at: mychangedate
)

post.save

--
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+unsubscribe@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/7f79a784-eea8-4243-845d-7da94228d04b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Big thrums up for Digitalocean, great set of howtos.

On Monday, September 25, 2017 at 6:22:02 AM UTC+1, Diego Suarez wrote:
For the server side Digitalocean got some good ones like https://www.digitalocean.com/community/tutorials/how-to-deploy-rails-apps-using-unicorn-and-nginx-on-centos-6-5

For capistrano, the docs are great, google, stackoverflow... but yeah post any specific questions.

On Thursday, September 21, 2017 at 10:10:53 PM UTC-7, Aqib Hameed wrote:
I want to deploy rails app  in OS centos 7, with Nginx, Unicorn and Capistrano so which guide or tutorials is best for deploying rails app ???  

--
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+unsubscribe@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/382136a5-96d4-4510-a4d4-49b0ac19e90a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

good point, deleted the post.

On Friday, September 29, 2017 at 4:20:56 PM UTC+1, Hassan Schroeder wrote:
On Fri, Sep 29, 2017 at 8:10 AM, Ben Edwards <lo...@funkytwig.com> wrote:
> Not read the guide but I simply set up the details of my outgoing SMTP
> server

which is completely irrelevant to the question of *receiving* mail...

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
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+unsubscribe@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/f522e8ee-51ae-4bfa-83e3-7ecd17517ff9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

On Fri, Sep 29, 2017 at 8:10 AM, Ben Edwards <login@funkytwig.com> wrote:
> Not read the guide but I simply set up the details of my outgoing SMTP
> server

which is completely irrelevant to the question of *receiving* mail...

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
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+unsubscribe@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/CACmC4yA2Z_5uAyfuRcZGVtT%2Bj5kr3VUhfpBsUU28chvZwacPqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Not read the guide but I simply set up the details of my outgoing SMTP server in my config/enviroments/production.rb (and development.rb), something like

  config.action_mailer.perform_deliveries = true
  config.action_mailer.smtp_settings = {
    user_name:            Rails.application.secrets.mail_username,
    password:             Rails.application.secrets.mail_password,
    domain:               'mydomain.com',
    address:              'mail.myhostingpeople.net',
    port:                 '25',
    authentication:       :login,
    enable_starttls_auto: true
  }

Bear in mind that even  on development you need to restart 'rails s' to reload this.

The guide sounds a bit over complicate.  I setup my mail using the instructions in http://codepany.com/blog/rails-5-user-accounts-with-3-types-of-roles-devise-rails_admin-cancancan/.  Its actually a very good guide about setting up user/authentication but the mail bit can looked at on its own.

If you are using Linux and just want to send email ssmtp is worth a look, its VERY simple to set up (I use it on production servers).


On Thursday, September 28, 2017 at 8:36:43 AM UTC+1, Aqib Hameed wrote:
I am following this rails guide http://guides.rubyonrails.org/action_mailer_basics.html#receiving-emails. But i am not able to understand what should it means
"Configure your email server to forward emails from the address(es) you would like your app to receive to /path/to/app/bin/rails runner 'UserMailer.receive(STDIN.read)'."
Is there any screen-cast which explain these things ???

--
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+unsubscribe@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/2727f738-e1c8-47e0-968d-7bc9835d8a3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

In my application I have reference data tables that I setup on my staging server and then when it is tested I want to move it to production.  Initially I thought 'rails db:seed:dump' may be useful but there are keys between reference data and the rest of the database so this probably wont work. My current research indicated I probably need to write a .rb script and use rails runner (rails run script.rb').  Wondering how best to approach this.

So some context probably best to give details of the specific application.  Its a  listings site.  The main tables are venues and events.  It gets listings from venue websites (using web scraping) and facebook (using the graph API).  There is also a table called event_modifiers which holds details on transformations that need doing to the date.  These include not including where there is a certain event title (i.e. PRIVATE PARTY) and also has rules to try to work out the type of event (i.e. if title contains 'CLUB NIGHT' set event_type = 'CLUB').  Some of these event_modifiers are global and some only for a specific venue.  This is a vast oversimplification of the application but should be enough to show what the challenges are in moving reference date.  One example is I there is a foreign key in event_modifiers that may point to a venue (rails 5 suports these optional associations).  There is also a foregn key between the events (non ref data) and venues (ref data).

So far it would be possible to simply truncate all the tables and reload the database (although this seems a bit drastic) but there is another issue.  However users (another table) can bookmark events so there is also a foregn key between user_bookmarks and events.  If I dropped the reference data the association between user_bookmarks, events and venues need keeping (the venue_id foreign key).

so this is far from trivial and some pointers would be good.






--
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+unsubscribe@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/90cbfa19-e233-40a6-80ef-70e4513049c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails Thursday, September 28, 2017

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJZzLRnAAoJELMYNofijuAHK2AP/1y9nY7J68ZbhRnm0bz7U2y0
mif0YMgMUhH3GuHS/LvHaSYZxsdivWF2QREGr/Hdc/izqAMl6xI3XXmf5n4tsi+C
VhEL7dp5hsBcGvUiapJn8hbKGKjEa4UsbMWcidgHSYgmOQcMf+liLyqUl6XOGbqP
kjd9ACxrgPeg6KwdaibYuQtM9bfZxmizEJiZvSvPUCReoKmEP89HwWm0KPb7x/0T
9tIxixFieydCq3e8IxJH7jB0Iu8LCQShet+7EZVj8Hvf2f2NOauzb1j8Hh12inLj
N3OY+B8ximUdtV4HCaE/eLvXxwJmKqcM52aq+6V5VPCJrStihhUXKmKmopIvw2f5
pk17UMY06LH3DZxkqyO4vNYpdAUDeInVsfclJtvYBr8q5hnBYIoaVDXL53f7Vftx
LiWwE7KH2nQBr4c1tGyiQf/PdZ4QHDiD2QN7q1JpCb8U/LUJRDWtriuxzxoq+Qo0
bqcyCWcLJGO9Z3h8GmSFqT+eITVksUpcgBtt5fumDyYRstsbJP7Zwmbn94s/mkoa
70Dzl5kUd3N4BVo6nOKibCqy2UzNeFUDfOBOFJxmlxSoyvMqNFuhAlGrHwqAQBm0
GoRQD7wierAjGhPAuVCqE6OkO4A3dEENpNs3Ycwxim4nmpscKAYx790lel0+g3RZ
sqB7+HtvRWqOkTuCd9pF
=xG+7
-----END PGP SIGNATURE-----
Please do not reply to me privately but to the mailinglist!

Am 28.09.2017 um 10:30 schrieb Aqib Hameed:
> receive to |/path/to/app/bin/rails runner 'UserMailer.receive(STDIN.read)'|.
> where i should run this command and where define outgoing server
> configuration ???

This totally depends on which MTA/MUA you are using, you need to
configure it in the MTA/MUA you are using and how you do it totally
depends on the software uised. Perhaps someone else is able to help you
after you have provided necessary information.

> On Thu, Sep 28, 2017 at 12:52 PM, Norbert Melzer <timmelzer@gmail.com
> <mailto:timmelzer@gmail.com>> wrote:
>
> Am 28.09.2017 um 09:36 schrieb Aqib Hameed:
> > I am following this rails
> >
> guide http://guides.rubyonrails.org/action_mailer_basics.html#receiving-emails
> <http://guides.rubyonrails.org/action_mailer_basics.html#receiving-emails>.
> > But i am not able to understand what should it means
> > "Configure your email server to forward emails from the
> address(es) you
> > would like your app to receive to |/path/to/app/bin/rails runner
> > 'UserMailer.receive(STDIN.read)'|."
> > Is there any screen-cast which explain these things ???
>
> I'm not sure if there is a screencast explaining this, but basically it
> means, that you have to tell your *locally run* mail transfer agent, to
> pipe all mails that should be handled by your rails app to the
> mailhandler.
>
> If you were writing a bash script doing this and the mailcontent is in
> the variable `$MAILCONTENT` it were roughly like this:
>
> ```
> echo $MAILCONTENT | /path/to/app/bin/rails runner \
>   'UserMailer.receive(STDIN.read)'
> ```
>
> How to do this exactly does massively depend on the MTA you use.
>
> Of course you do not need to run a mailserver locally, any scriptable
> headless client should do as well. But I do asume that the guide is does
> asume that the application runs on the exact same server that handles
> emails for the domain as well.
>
>


--
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+unsubscribe@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/f88285e5-5dcf-913f-c9e7-330fc6045998%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

I am following this rails guide http://guides.rubyonrails.org/action_mailer_basics.html#receiving-emails. But i am not able to understand what should it means
"Configure your email server to forward emails from the address(es) you would like your app to receive to /path/to/app/bin/rails runner 'UserMailer.receive(STDIN.read)'."
Is there any screen-cast which explain these things ???

--
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+unsubscribe@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/8d4427b5-d140-4f6b-8281-b6ac270b360e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails Wednesday, September 27, 2017

Ok, I think I've got it figured out.  

Thanks,
Joe

On Wednesday, September 27, 2017 at 6:32:03 PM UTC-4, Joe Guerra wrote:
Just curious, I'd like to shoot off a notification message once a form has been entered on my site.

I guess it's easy enough to figure out.  Do I just create a mailer and call that task once it's completed?
(sorry I haven't worked with any mailers yet.)

Thanks,
Joe

--
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+unsubscribe@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/232282fb-6662-405a-8fe4-a72d65c9e2be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Just curious, I'd like to shoot off a notification message once a form has been entered on my site.

I guess it's easy enough to figure out.  Do I just create a mailer and call that task once it's completed?
(sorry I haven't worked with any mailers yet.)

Thanks,
Joe

--
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+unsubscribe@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/3a99f010-78cc-4811-b14e-54c6d7f2a932%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Hello!

Survival International is searching for a software crafter who follows best practices and is able to write clean and maintainable code.
We are a supportive small team (3 devs, 1 sysadmin), tech agnostic, non-corporate and have no clients, so we impose our own deadlines and make our own decisions on the direction of our projects

Our non-profit is a global organisation that fights for the rights of tribal peoples all around the world.
So rather than building another betting site, corporate app, or banking service, your work will be actually making a difference and having a huge impact in the lives of these people.

If all this sound good to you and you are based in London, UK, you can learn more about it here:
https://survival-international.breezy.hr/

The deadline is the 30 of September, so you still have some time left!

All the best,
Maël

--
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+unsubscribe@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/70fea90b-a4a2-48f5-8d99-74dc29786fc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Hi everyone,

I am happy to announce that Rails 4.2.10 final has been released!

As noted in the rc1 post, Rails 4.2 is no longer supported except for severe security patches, but the last release introduced a couple regressions that warranted a release. Unless more regressions are found this will likely be the last bug fix release for Rails 4.2. :champagne:

## CHANGES since 4.2.9

The following gems had changes since 4.2.9. Changes are listed below, or you can read the CHANGELOG's on GitHub:

* [Action Pack CHANGELOG](https://github.com/rails/rails/blob/v4.2.10/actionpack/CHANGELOG.md)

> Fix regression in behavior of `normalize_path`.

> In Rails 5 there was a change to ensure the encoding of the original string
in a path was maintained. This was incorrectly backported to Rails 4.2 which
caused a regression.

* [Active Record CHANGELOG](https://github.com/rails/rails/blob/v4.2.10/activerecord/CHANGELOG.md)

> `Relation#joins` is no longer affected by the target model's
`current_scope`, with the exception of `unscoped`. Fixes #29338.

The remaining gems (Action Mailer, Action View, Active Job, Active Model, Active Support, and Railties) had no changes.

*Full list of changes*

To see the full list of changes, [check out all the commits on
GitHub](https://github.com/rails/rails/compare/v4.2.9...v4.2.10).

## SHA-256

If you'd like to verify that your gem is the same as the one I've uploaded,
please use these SHA-256 hashes.

Here are the checksums for 4.2.10:

```
$ shasum -a 256 *-4.2.10.gem
a93cedc87c05e4360dee32777872a9b851295e96d8a32b96ebc13e7c95967ec7  actionmailer-4.2.10.gem
fd6625bcb84dbfb48d7e7f6ab7d2b88ede925a455db02fbaec5047d57a7eca50  actionpack-4.2.10.gem
1bae4a0385ba7384ed2ae4eddff80076f0c6b21cfc9d60cf0767723feb153dcb  actionview-4.2.10.gem
e80776a73ba5cc32fefb372f11db289153b954c91db378ad689ad1896f515a82  activejob-4.2.10.gem
3b513adc4f7483da117d25ac6505cc46794b4eb457b28597014975a97a929b30  activemodel-4.2.10.gem
3218dbfa6f46df8e820577d56a21a3c9b9bb3f32410803a4357200b756594c5a  activerecord-4.2.10.gem
275b14e515eb8c924bafa734417ec053a57f177ae9d3369f753d6f4437922268  activesupport-4.2.10.gem
141067e1dd4ec59d7a49e54936b68d8e44d8616515625dcf0387405a276d6b97  rails-4.2.10.gem
3709315c522a2729bb7dcf97c05acc2d47b61521cac450ee03143321b1abde6a  railties-4.2.10.gem
```

As always, huge thanks to the many contributors who helped with this release.

--
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+unsubscribe@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/315ddbf4-20af-4e28-ad77-cabf64d9988c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails Tuesday, September 26, 2017


Hi,

Environment: Jruby 1.7.25 on Jetty. Rails 3.2.11. We have been facing a random issue where some of the route objects stored in the Journey Gem get corrupted. After that, the corrupted routes/endpoints keep on throwing an empty string or nil for all of the future hits, and blows up our application. The only solution is to restart the server. 

The thread unsafety of the Journey gem is a known issue, see these: 
https://github.com/rails/rails/issues/23699
https://github.com/rails/rails/pull/27647

I have two questions:

Could the journey objects which are storing routes get garbage collected on the JVM? Thats the only way I see, why routes could get corrupted because in a live highly concurrent site regeneration of the Journey related objects will be prone to race conditions.

Has anyone similar experience in seeing the journey gem getting corrupted?

Thanks,
Samar




--
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+unsubscribe@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/1f529962-b390-45ed-9d3b-c2743c1e66de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

We are currently conducting a survey for understanding practitioners' knowledge and experience about different architectural viewpoints that represent the different aspects of software systems on which a set of relevant design decisions can be defined. These viewpoints are logical, physical, deployment, behaviour, and concurrency viewpoints.

 

The survey takes approximately 5 to 15 minutes to complete (Almost all questions are radio buttons/checkboxes). Your participation is highly appreciated and will be invaluable for us.

The survey link: https://goo.gl/forms/LjyORftpSI6wdCbd2

--
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+unsubscribe@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/9888079d-7ad8-4928-8914-38f97e50b583%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.