[Rails] rails associations using build_association and create_association helpers

2016-01-07 Thread fugee ohu
I have users has_one profile, profiles has_many schools, schools has_many teams I'm trying to write the new and create actions for the teams controller i'm not sure what they should be, i have something like @team= current_user.profile.build_team(team_params) which i've been trying different

[Rails] Re: counter_cache for has_many through associations

2016-01-07 Thread John Sanderbeck
I am struggling with this as well. What appears to be happening is that the deletes from the join table do not fire the counter_cache update. >From what I have read, delete's do not fire events and that is the way it is designed in Rails 4. I have tried multiple workarounds from doing an

[Rails] Div background image not showing in heroku. However, the logo shows

2016-01-07 Thread Abdulaleem Seyed
I tried changing the image tag, no luck with that. I reviewed other post here and tried those solutions none work. I also use amazon cloudfront. signup{ text-align: center; background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)), url("zoom1028.jpg"); } -- Posted via

Re: [Rails] rails associations using build_association and create_association helpers

2016-01-07 Thread Colin Law
On 7 January 2016 at 11:32, fugee ohu wrote: > I have users has_one profile, profiles has_many schools, schools has_many > teams I'm trying to write the new and create actions for the teams > controller i'm not sure what they should be, i have something like @team= >

[Rails] Re: [JOBS] Senior Software Engineer - Web & Mobile (NYC)

2016-01-07 Thread Juliette Dupre
Please apply to http://plated.applytojob.com/apply/9bpBQ5/Senior-Software-Engineer-Mobile-Web On Thursday, January 7, 2016 at 11:22:30 AM UTC-5, Juliette Dupre wrote: > > Plated is at the forefront of culinary subscription, and we’re hiring a > Senior Software Engineer to join us on our quest

[Rails] [JOBS] Senior Software Engineer - Platform (NYC)

2016-01-07 Thread Juliette Dupre
Are you ready to build a product that has a genuine positive impact on people lives? At Plated, you'll help us leverage technology to make healthier and tastier eating part of everyday living. Our development environment ensures that our engineers are in touch with the interesting problems