Re: [Rails] Should users be able to delete or edit posts that already have comments

2016-04-13 Thread Colin Law
On 14 Apr 2016 6:55 a.m., "fugee ohu" wrote: > > Got a lot of sn concerns like first, should users be able to delete or edit posts that already have comments? The specification of what you want your app to do is entirely up to you. It is not a rails issue. Colin > > -- > You received this messa

[Rails] Should users be able to delete or edit posts that already have comments

2016-04-13 Thread fugee ohu
Got a lot of sn concerns like first, should users be able to delete or edit posts that already have comments? -- 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

[Rails] Should users be able to delete or edit posts that already have

2016-04-13 Thread fugee ohu
Got a lot of sn concerns like first, should users be able to delete or edit posts that already have comments? -- 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

[Rails] Re: Encrypt/Decrypt files using Carrierwave to store in S3

2016-04-13 Thread Joy Lal Chattaraj
Why do you need to encrypt the files, just set the folder to private so no one else can access them. -- 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 ruby

Re: [Rails] Re: Moving a ruby/rails app from one server to another

2016-04-13 Thread Colin Law
On 13 April 2016 at 17:01, Vince Laurent wrote: > I discovered this fact the same time you replied. Not sure where to go > from here. Thanks, though. Also, this is an internal site/app so no > internet access for this system. > > Time to find a ruby developer... Not only ruby, but Rails. Coli

[Rails] Re: Moving a ruby/rails app from one server to another

2016-04-13 Thread Vince Laurent
I discovered this fact the same time you replied. Not sure where to go from here. Thanks, though. Also, this is an internal site/app so no internet access for this system. Time to find a ruby developer... -- Posted via http://www.ruby-forum.com/. -- You received this message because you are

[Rails] Re: rails and react.js tutorial ?

2016-04-13 Thread David Batterman
Hi, it is probably too late, sorry, but it can be helpful for others in your case. The following blog is quite interesting for starting a new rails project with react: https://programming.sereale.fr/ It helps you to make a "Tour of Heroes" example using rails and react. There is also a part wit

Re: [Rails] Moving a ruby/rails app from one server to another

2016-04-13 Thread Colin Law
On 13 April 2016 at 16:39, Vince Laurent wrote: > I have been given task to move an app, the database, and all required > software from an old system (going away soon) to a new one. I think I > have all the software BUT can't get the app to 'work'. So, my question > is what is the step to migrat

[Rails] Moving a ruby/rails app from one server to another

2016-04-13 Thread Vince Laurent
I have been given task to move an app, the database, and all required software from an old system (going away soon) to a new one. I think I have all the software BUT can't get the app to 'work'. So, my question is what is the step to migrate a ruby on rails app? “old” server saptip:/etc# ruby -

[Rails] Re: version control for models

2016-04-13 Thread Jesus Castello
I think the PaperTrail gem does what you want & last update was 4 days ago :) https://github.com/airblade/paper_trail -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this gr

[Rails] [Article] Metaprogramming in The Wild

2016-04-13 Thread Jesus Castello
Hey! Some people asked me about practical uses for metaprogramming, so I went to github and found a few examples from big open-source projects: Rails, Sinatra & the PaperClip gem. You can read the article here: http://www.blackbytes.info/2016/04/metaprogramming-in-the-wild/ Let me know what you

[Rails] How can a gem (unintentionally) change the migrations path?

2016-04-13 Thread Andy Jeffries
I wrote a Gem (https://github.com/absolutedevops/civo) which is a simple Rails Engine containing a few API accessing models. However, when I include it in a Rails project, any generators create their files under the Gem's source code not the project's. I can't see anything I'm doing in the Gem