phorsfall + rails   262

The Amazing Blog : Your Web Service Might Not Be RESTful If…
Has an interesting take on versioning APIs I'd not thought of before.
http  rest  restful  ruby  rails  api  versioning  design  article  authentication  webservices 
july 2009 by phorsfall
Using and Testing ActiveRecord/Rails Observers | upstream agile - software
You can disable the observers by stubbing the notify event in the model.
Using mocha it would be something like this to disable all notifications to the User model:

User.any_instance.stubs(:notify)
ruby  rails  testing  observers  tdd 
june 2009 by phorsfall
iain.nl » AuthLogic is awesome!
user_session method should memoize to @user_session instance variable
authlogic  rspec  helper  ruby  rails 
february 2009 by phorsfall
The Lie -- techno weenie
When I see code that stubs find or save, I cringe.
ruby  rails  fixtures  rspec  stubbing  testing  article 
february 2009 by phorsfall
« earlier      

related tags

37signals  actionmailer  activerecord  activeresource  acts_as_ferret  acts_as_taggable  acts_as_taggable_on_steroids  after_commit  ajax  amazon  apache  api  architecture  arel  article  asset  associations  asynchronous  atom  audio  authentication  authlogic  authsub  autotest  aws  backgroundrb  backup  bash  bdd  belongs_to  billing  blog  blogging  book  books  braid  builder  bundle  bundler  business  cache-money  caching  callbacks  capistrano  cheetsheet  ci  class_eval  cocoa  codereview  comet  completion  concurrency  conference  console  contracts  conversion  coverage  crm  cron  crontab  cruisecontrolrb  csrf  css  cygwin  datamapper  dbslayer  delayed_job  deployment  deprec  design  developers  development  dhh  diagram  directory  documentation  downloads  ec2  ecommerce  ecs  edge  emacs  email  engineyard  entrepreneurship  erlang  etags  eventmachine  exceptions  extension  factory  factory_girl  fast_context  feed  ffmpeg  fibers  fixtures  flash  focus_fu  framework  freelance  friends  fuzed  gem  gems  gemspec  generator  git  github  gmail  goodsourcecode  google  growl  guard  habtm  has_many_polymorphs  helper  hoedown  hoptoad  hosting  howto  hpricot  html  http  hydra  i18n  icon  ide  imap  indexes  inspiration  interviewquestions  iphone  irb  javascript  jewler  jobs  jquery  json  juggernaut  jwplayer  leopard  less  library  linux  mac  macports  mailers  matcher  memcached  mephisto  merb  messagequeues  microformats  mixins  mobile  mock  model_stubbing  modrails  mongrel  monitoring  mp3  multipart  music  mvc  mysql  navigation  nginx  nosql  observers  opensource  optimization  orm  osx  pageless  pagination  paperclip  passenger  passwords  patch  pattern  perf  performance  php  piston  player  plugin  plugins  podcast  postgresql  pratik  presentation  presentations  preview  profiling  programming  proxies  pubsub  rails  rails3  railsconf  railsenvy  rake  ranking  rcov  rdf  rdoc  recruitment  ree  reference  relational_algebra  reporting  require  rest  restful  restful_authentication  rspec  rss  rubinius  ruby  rubyconf  rubygems  s3  saas  sass  scalability  scaling  schemaless  scm  scope_out  screencast  semantic  serialization  shoes  shoulda  simpledb  sitemap  slides  snowleopard  spam  spork  spree  sproutcore  sql  sshtunnel  ssl  starling  startup  static_pages  sti  stories  stubbing  svn  sysadmin  tagcloud  tagging  tdd  templates  terminal  testing  testunit  texteditor  textmate  thin  threading  ticket  timezones  tips  tool  tools  trac  training  transactions  tumblelog  tutorial  tutorials  twilio  ubuntu  unobtrusive  validation  validations  versioning  video  virtualization  visualization  vmware  weather  web  webapp  webdesign  webhooks  webrat  webservices  widgets  xml  xmpp  youtube  yslow 

Copy this bookmark:



description:


tags: