[Rails] elasticsearch

2016-03-10 Thread fugee ohu
Why doesn't the elasticsearch github page say anything about having to install elasticsearch as a service on the host and that it should be running on port 9200 I google this farraday error and all results point to the elasticsearch service supposed to be running on 9200 So where's this in the

[Rails] elasticsea

2016-03-10 Thread fugee ohu
Why doesn't the elasticsearch github page say anything about having to install elasticsearch as a service on the host and that it should be running on port 9200 I google this farraday error and all results point to the elasticsearch service supposed to be running on 9200 So where's this in the

Re: [Rails] Re: Re: Re: Re: Simple_Form has_many through question

2016-03-10 Thread Colin Law
On 10 March 2016 at 15:05, John Sanderbeck wrote: > Colin Law wrote in post #1182080: >> On 9 March 2016 at 23:19, John Sanderbeck wrote: >> attendance_count is not an attribute of organization, it is an >> attribute of attendee so would need something like >> Training.organizations.first.attende

[Rails] Job- DevOps Engineer w Ruby experience Direct hire role No h1 or Third Parties Washington DC

2016-03-10 Thread Jennifer Simpson Black
DevOps Engineer w Ruby experience Direct hire role* No h1 or Third Parties * Washington DC *NO h1 or Third Parties * MUST-HAVES Python/Ruby AWS Postgres, MySQL, Mongodb 2+ years experience in a similar role DESCRIPTION OF DUTIES Become the gatekeeper of information; you will know where al

[Rails] JOB-DevOps Engineer- Garland- NO h1 or Third Parties

2016-03-10 Thread Jennifer Simpson Black
*NO h1 or Third Parties * MUST-HAVES Python/Ruby 2+ years experience in a similar role Proficiency with PHP, Ruby, Go or Node.js for library development Experience working in a containerized environment (Docker/LXC) Experience with Rackspace cloud-based offerings and systems Experience auto

[Rails] How to make the Cart functionality to work in Rails

2016-03-10 Thread Atchyut Nagabhairava
I was practicing rails by creating a food ordering website some what similar to FoodPanda. For now I have created pages to display restaurants, in rest

[Rails] Denshobato gem, messaging between models.

2016-03-10 Thread Eugene Domosedov
Denshobato is a Rails gem that helps models communicate with each other. It gives simple api for creating a complete conversation system. You can create conversation with any model. Denshobato provides api methods for making conversation, messages, blacklists and trash. It also provides Helper meth

[Rails] Re: Re: Re: Re: Simple_Form has_many through question

2016-03-10 Thread John Sanderbeck
Colin Law wrote in post #1182080: > On 9 March 2016 at 23:19, John Sanderbeck wrote: > attendance_count is not an attribute of organization, it is an > attribute of attendee so would need something like > Training.organizations.first.attendees.first.attendance_count > An organization has many atte

Re: [Rails] Re: Re: Re: Re: Simple_Form has_many through question

2016-03-10 Thread Colin Law
On 10 March 2016 at 11:26, John Sanderbeck wrote: > Colin Law wrote in post #1182080: >> On 9 March 2016 at 23:19, John Sanderbeck wrote: >> Perhaps you had better tell us exactly what associations you have >> setup, in terms of has_many, belongs_to has_many_many through etc. >> Tell us what you

[Rails] Re: Re: Re: Re: Simple_Form has_many through question

2016-03-10 Thread John Sanderbeck
Colin Law wrote in post #1182080: > On 9 March 2016 at 23:19, John Sanderbeck wrote: > Perhaps you had better tell us exactly what associations you have > setup, in terms of has_many, belongs_to has_many_many through etc. > Tell us what you have declared for each model. The associations are in th

Re: [Rails] Rails 5.0.0.beta3 thinks it is in production mode when it isn't.

2016-03-10 Thread Colin Law
On 10 March 2016 at 03:36, Dave Bell wrote: > Colin, thanks for pointing out the fact that each asset, JS and CSS in > particular, are being fetched individually, that wouldn't happen with the > production asset pipeline running. Strange still about the way images are > being handled. By restart

Re: [Rails] Re: Re: Re: Simple_Form has_many through question

2016-03-10 Thread Colin Law
On 9 March 2016 at 23:19, John Sanderbeck wrote: > Colin Law wrote in post #1182071: >> OK, I did not realise that you wanted to input a numeric value. The >> fact that it is an integer rather than, for example, a text string, is >> irrelevant to the form. You just need to use f.input. What you

Re: [Rails] Re: Having trouble with named_scopes for my view

2016-03-10 Thread Colin Law
On 9 March 2016 at 22:25, David Williams wrote: > Colin Law wrote in post #1182073: >> On 9 March 2016 at 21:51, David Williams wrote: >>> "articles"."category_id" = ? ORDER BY "articles"."created_at" DESC >>> [["category_id", 1]] >>> >>> >>> I'm getting undefined method `each' for # >> >> That