[Rails] Question about length of ActionDispatch::Routing::Mapper class file

2015-09-08 Thread George Mendoza
Hello Rails team, I'm not sure whether to post this question here or in the Rails core list. Please redirect me to the right forum if applicable. Our team lead and I recently discussed the pros and cons of breaking up a long source file into multiple source files. I tend to prefer one class

Re: [Rails] Question about length of ActionDispatch::Routing::Mapper class file

2015-09-08 Thread botp
On Tue, Sep 8, 2015 at 7:38 AM, George Mendoza wrote: > Our team lead and I recently discussed the pros and cons of breaking up a > long source file into multiple source files. I tend to prefer one class per > file, because I find the individual files easier to read and

[Rails] Re: How get model by double relation without using like where(id: @user.id)

2015-09-08 Thread Frederick Cheung
On Monday, September 7, 2015 at 11:48:50 PM UTC+1, Николай Спелый wrote: > > This strange title is all that i think out. > > I have to objects: @user (instance of User model) and @chat (instance of > Chat model). > > And i need to get record from table chats_users (relation has name >

[Rails] Re: [JOB] Looking for RoR Job (Fresher)

2015-09-08 Thread Chan Kaur
Hello, I am Chanpreet Kaur from India. I too have completed by graduation this year (May 2015). I'm also looking for the job (Any location in India, remote, onsite). If there are any recommendations please let me know so that I can enclose my CV for further review. Hope to get a positive

[Rails] Re: Ruby on Rails experts in India

2015-09-08 Thread Shanaya Shekhar
hii.. i want to learn about ruby. so can anyone suggest me some Ruby On Rails Experts In India so that can learn the langauge.. -- 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

Re: [Rails] Ruby on Rails experts in India

2015-09-08 Thread Scott Ribe
On Sep 8, 2015, at 9:29 AM, Shanaya Shekhar wrote: > > hii.. i want to learn about ruby. so can anyone suggest me some Ruby On > Rails Experts In India so that can learn the langauge.. This is a good start: , book is available free online;

[Rails] Has_many through association in active_model_serializer.

2015-09-08 Thread Edsil Basadre
Any thought how I can implement active_mode_serializer in a has_many through association. I have three models: *class Menu < ActiveRecord::Base* * has_many :menu_details, inverse_of: :menu, dependent: :destroy* * has_many :foods, through: :menu_details* *end* class Food < ActiveRecord::Base

Re: [Rails] Head first rails Mebay application

2015-09-08 Thread tamouse pontiki
On Mon, Sep 7, 2015 at 2:40 PM, Colin Law wrote: > On 6 September 2015 at 15:00, tamouse pontiki > wrote: > > > > On Fri, Sep 4, 2015 at 1:21 AM, Colin Law wrote: > >> > >> On 3 September 2015 at 21:56, Priya Mohan