Refactor your Rails conditions like the best ones do: null object refactoring pattern
Looking for an excellent replacement for if conditions where you check if an object and its attribute are present? Meet null object and give it a try - READ MORE
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Looking for an excellent replacement for if conditions where you check if an object and its attribute are present? Meet null object and give it a try - READ MORE
Post a comment