Embed presentation
Download as KEY, PPTX
















































The document discusses common mistakes and pitfalls when developing with Ruby on Rails, including: 1) Not understanding the difference between 'and' and '&&' operators and operator precedence issues this can cause. 2) Not sanitizing user input passed to functions like strip_tags, which can lead to security issues. 3) Caching controller actions without checking for initialized instance variables, which can cause crashes. 4) Issues with validating database uniqueness across multiple processes that can lead to duplicate entry errors. 5) Problems composing conditions for queries when categories or subcategories are empty. 6) Breaking the callback chain filter by returning from callbacks. 7) Perform














































