• Skip to main navigation
  • Skip to main content
  • Skip to footer

fatgeek.uk

Father, Husband, Coder, Cook

  • Home
  • About
  • Fiction
  • Skip to menu toggle button
  • Yelp
  • Facebook
  • Twitter
  • Instagram
  • Email
  • Back to top ↑

Category: mvc

fatgeek.uk

Models make decisions, views and controllers ask PERMISSION

Posted on: September 6, 2007 Last updated on: September 6, 2007 Written by: peterm Comments: 0
Rails uses MVC. Its important to correctly partition what each section does. Views and Controllers should NEVER make decisions. Models should make decisions, and controllers and views should ask models for permission. For instance, if you have a a User…
Continue reading “Models make decisions, views and controllers ask PERMISSION”…

About This Site

These are just my personal ramblings on pretty much anything. Coding, Life, Family, Society, CATS.

  • APPLE
  • architecture
  • banks
  • bdd
  • Books
  • bug
  • cats
  • Coding
  • Cooking
  • crunch
  • dads
  • design
  • Diametrical Opinions
  • Django
  • dry
  • Family
  • funny
  • gas
  • geeks
  • ghetto
  • gougers
  • insightful
  • jruby
  • junkmail
  • kids
  • lego
  • Meta
  • metaweblog
  • MICROSOFT
  • moaning
  • money
  • Mr Angry
  • music
  • mvc
  • nigerian_scam
  • npower
  • ood
  • oop
  • OOXML
  • opensource
  • peepcode
  • physics
  • Projects
  • quotes
  • Rails
  • rants
  • Reviews
  • rspec
  • ruby
  • scam
  • sigint
  • simulation
  • society
  • south
  • sql
  • tdd
  • testing
  • tosh
  • travel
  • Uncategorized
  • web
  • xml
© 2025 fatgeek.uk | Using Reykjavik WordPress theme. | Back to top ↑
  • Yelp
  • Facebook
  • Twitter
  • Instagram
  • Email
  • Back to top ↑