Re: [Rails] Easiest way to deploy to VM?

2018-08-15 Thread Hassan Schroeder
On Wed, Aug 15, 2018 at 4:22 PM, j...@via.net wrote: > Can I run puma in production or do I ned to setup nginx? Having a separate proxy like nginx or Apache httpd in front of your app server (puma, unicorn, etc.) is definitely recommended. A proxy can more efficiently serve static assets, handle

Re: [Rails] Easiest way to deploy to VM?

2018-08-15 Thread j...@via.net
Can I run puma in production or do I ned to setup nginx? Thanks! Joe On Wednesday, August 15, 2018 at 2:51:21 PM UTC-7, Hassan Schroeder wrote: > > On Wed, Aug 15, 2018 at 2:21 PM, j...@via.net > wrote: > > Ok, so what's the easiest way to upgrade my rails 4.2.1 project to > 4.2.10? > > Edi

Re: [Rails] Easiest way to deploy to VM?

2018-08-15 Thread Hassan Schroeder
On Wed, Aug 15, 2018 at 2:21 PM, j...@via.net wrote: > Ok, so what's the easiest way to upgrade my rails 4.2.1 project to 4.2.10? Edit your Gemfile entry for Rails and run `bundle install`. If all your tests still pass you may want to fix any deprecation warnings just in case you decide to upgrad

Re: [Rails] Easiest way to deploy to VM?

2018-08-15 Thread j...@via.net
Ok, so what's the easiest way to upgrade my rails 4.2.1 project to 4.2.10? joe On Monday, August 13, 2018 at 11:06:52 AM UTC-7, Hassan Schroeder wrote: > > On Mon, Aug 13, 2018 at 10:07 AM, j...@via.net > wrote: > > > > Hah! I've been noodling with this for a couple years. It's Rails > 4.2.1

[Rails] having problem with -> rails g rspec: install

2018-08-15 Thread Bottles
i am running on ruby 2.3, and using rails 4.2.0 for my project also rails-rspec '~>3.0.0' when i run $ rails g rspec:install i get this problem. any help please C:\Sites\livechat>rails g rspec:install C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/railties-4.2.0/lib/rails/ra iltie/confi

Re: [Rails] email ID issue

2018-08-15 Thread Hassan Schroeder
On Wed, Aug 15, 2018 at 1:32 AM, Piyush Chowhan wrote: >> What did you change between now and "previously"? > I guess only just rails version. It was my older app. "only just" LOL Did you upgrade from the last previous major version? If so, did you fix all the deprecation warnings? Is this pa

Re: [Rails] Adding records to a nested model through an association

2018-08-15 Thread John Sanderbeck
The way the nests are working now is it should render the file _note_fields.html.erb but it acts like it is not finding that file which tells me the fields_for is looking for a different name due to the way it is nested On Wednesday, August 15, 2018 at 6:26:31 AM UTC-4, John Sanderbeck wrote: >

Re: [Rails] Adding records to a nested model through an association

2018-08-15 Thread John Sanderbeck
That's the way all my other nests are defined and they work fine... I think the problem is I am adding a nest from a different model than I am actually working on... On Tuesday, August 14, 2018 at 8:03:57 PM UTC-4, Walter Lee Davis wrote: > > > > On Aug 14, 2018, at 5:49 PM, John Sanderbeck >

Re: [Rails] email ID issue

2018-08-15 Thread Piyush Chowhan
I guess only just rails version. It was my older app. On Wed, Aug 15, 2018 at 4:30 AM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Tue, Aug 14, 2018 at 3:09 AM, Piyush Chowhan > wrote: > > > I am facing this error in my application previously it was working > > What did you change