31 Dec '16, 4am

ruby: Rails 5.0.0beta2: Weird behaviour of config belongs_to_required_by_default · Issue #23589 · rails/rails ·…

I'm facing a weird issue with the new config belongs_to_required_by_default In first app created with rails 5.0.0beta1 and updated to 5.0.0beta2, I have in initializers/active_record_belongs_to_required_by_default.rb: Rails.application.config.active_record.belongs_to_required_by_default = true In rails console: > Rails.application.config.active_record.belongs_to_required_by_default => true > ActiveRecord::Base.belongs_to_required_by_default => nil > User.belongs_to_required_by_default => nil If I replace Rails.application.config.active_record.belongs_to_required_by_default = true with ActiveRecord::Base.belongs_to_required_by_default = true , all work as expected and I get my associations validated. After the replacement, I get in console: > Rails.application.config.active_record.belongs_to_required_by_default => nil > ActiveRecord::Base.belongs_to_required_by_default => t...

Full article: https://github.com/rails/rails/issues/23589

Tweets

The latest Today in #Ruby, #Rails, & #Python!

paper.li 31 Dec '16, 12pm

Today in #Ruby, #Rails, & #Python News from Rubyists and Pythonistas by David Young Please enable Javascript to correctly ...

ruby: Configuring Rails Applications — Ruby on ...

guides.rubyonrails.org 31 Dec '16, 4am

config.public_file_server.enabled configures Rails to serve static files from the public directory. This option defaults t...

Apprendre Ruby on Rails : CanCanCan

journalduhacker.net 30 Dec '16, 3pm

4 Apprendre Ruby on Rails : CanCanCan formation ruby on rails vidéo grafikart.fr soumis par Cloug il y a 32 minutes | 2 co...

The Complete Ruby on Rails Developer Course

learn.techcus.com 31 Dec '16, 2pm

The Complete Ruby on Rails Developer Course provides a thorough introduction to Web Applications Development using the wil...

Apprendre Ruby on Rails : SimpleForm

journalduhacker.net 31 Dec '16, 4pm

Apprendre Ruby on Rails : SimpleForm formation ruby on rails vidéo grafikart.fr soumis par Cascador il y a environ une heure

I wrote a thing about Rails and Timezones yeste...

nickcanzoneri.com 28 Dec '16, 3pm

Rails, timezones, and existentialism Dec 27, 2016 As part of my day job working on Postmark , we encountered an odd issue ...

Your first #ProgressiveWebApp on Rails by @rossta

Your first #ProgressiveWebApp on Rails by @rossta

rossta.net 05 Jan '17, 5pm

Progressive Web App technology is still very young and rapidly churning; perhaps there's more reluctance on Rails teams to...

#job Freelance Ruby on Rails - Mechelen - Blake...

ictjob.be 30 Dec '16, 8am

URGENT PROJECT: Freelance Ruby on Rails - Mechelen You are passionate about the Ruby on Rails technology and you are looki...

#ruby #rails

bibwild.wordpress.com 29 Dec '16, 9pm

While the new architecture most immediately effects class-reloading, the new API is, for the most part, not written in ter...

Apprendre Ruby on Rails : Devise & OmniAuth

journalduhacker.net 29 Dec '16, 3pm

Apprendre Ruby on Rails : Devise & OmniAuth formation ruby on rails vidéo grafikart.fr soumis par Cascador il y a 34 minutes

bitmovin-player-rails (1.0.2): Quickly embed Bi...

rubygems.org 01 Jan '17, 7pm

RubyGems.org is the Ruby community’s gem hosting service. Instantly publish your gems and then install them . Use the API ...

for those learning ruby on rails

railstutorial.org 28 Dec '16, 2pm

Newly updated for Rails 5, the Ruby on Rails Tutorial book and screencast series teach you how to develop and deploy real,...

Daily Deal: The Complete Ruby on Rails Super Bundle

Daily Deal: The Complete Ruby on Rails Super Bu...

techdirt.com 28 Dec '16, 6pm

Daily Deal: The Complete Ruby on Rails Super Bundle from the good-deals-on-cool-stuff dept Master one of the most popular ...

La partie TP de la formation Rails est disponible

grafikart.fr 28 Dec '16, 1pm

Maintenant que l'on a fait un petit tour du propriétaire je vous propose de découvrir ce que donne Ruby on Rails dans un c...