rtlechow + rails   327

Andrzej on Software: DCI and Rails
"You can also extract some roles from the Website class. Some candidates in an e-commerce could be ProductRepository, OrderDepartment, NewsletterManager, Blog etc.

This logic is then injected runtime, at the object level, in the context of a specific use case. In my opinion contexts or use case fits very well with the rails thin controllers rule."
dci  rails  oop  mvc  software 
7 weeks ago by rtlechow
words-about-code/2012/04/rails-internals-inside-attribute-methods.md at master · oscardelben/words-about-code
"AttributeMethods is a useful class that alllows you to define dynamic prefixes/suffixes for your class attributes."
rails  ruby 
7 weeks ago by rtlechow
PeterHamilton/citier - GitHub
Class Inheritance & Table Inheritance for Rails
ruby  rails  inheritance  cti 
may 2011 by rtlechow
Grease Your Suite - Tips and tricks for faster testing
Grease Your Suite

Tips and tricks for faster testing

Nick Gauthier

SmartLogic Solutions
cucumber  rails  rspec  ruby  shoulda  test  tdd  testing  tests  hydra  factorygirl  performance 
april 2010 by rtlechow
The Life Of A Radar » Blog Archive » Testing Facebook
"We’re currently adding Facebook integration to an existing application that uses Authlogic. That means adding a button that any user can press on the login form that then takes them to Facebook, signs them in and then lets them log into our site. For this purpose and the time being “Facebook integration” means only that: letting the user login with their Facebook details. For the Facebook side of things we’re using Facebooker which is not the well-documented library we all would hope it is. Oh, and you cannot use it as a gem with Rails."
tdd  bdd  authlogic  rails  facebook  rubyonrails  testing  ruby  connect 
march 2010 by rtlechow
Active Record vs Objects
"This dilemma is the basis for the oft-cited impedance mismatch between relational databases and object oriented languages. Tables are data structures, not classes. Objects are encapsulated behavior, not database rows... So applications built around ActiveRecord are applications built around data structures. And applications that are built around data structures are procedural—they are not object oriented. The opportunity we miss when we structure our applications around Active Record is the opportunity to use object oriented design."
activerecord  patterns  design  persistence  programming  oop  rails  database  orm 
march 2010 by rtlechow
Config So Simple Your Mama Could Use It // RailsTips by John Nunemaker
Good alternatives in the comments, including Settingslogic and Configatron.
config  rails  ruby  configuration 
january 2010 by rtlechow
Slash7 with Amy Hoy - Pages - Help Vampires: A Spotter's Guide
It's so regular you could set your watch by it. The decay of a community is just as predictable as the decay of certain stable nuclear isotopes. As soon as an open source project, language, or what-have-you achieves a certain notoriety—its half-life, if you will—they swarm in, seemingly draining the very life out of the community itself.
community  help  support  humor  funny  irc  blog  rails  vampire 
november 2009 by rtlechow
Discontinuing Resourcelogic - Binary Logic
"Lately I’ve been really going back and forth between using tools like resourcelogic, inherited_resources, resource_controller, etc... So I’m going to address why I advise against using libraries like this... So the bottom line is that I am stopping support for resourcelogic. I will more than likely remove it from github because I don’t want to send people down the wrong path thinking its a good tool to use."
rails  library  advice  plugin  magic  resource  rubyonrails  resources  ruby 
october 2009 by rtlechow
« earlier      

related tags

37signals  account  accounting  action  activemerchant  activerecord  activism  acts_as_state_machine  acts_as_taggable  advice  aggregator  agile  ai  ajax  algorithm  algorithms  alterego  amazon  ambition  analysis  analytics  animation  anti-pattern  anti-patterns  antipattern  antipatterns  apache  api  app  appliance  application  applications  architecture  article  articles  asp.net  association  asynchronous  attr_protected  auth  authentication  authlogic  authorization  authorize.net  autospec  autotest  aws  background  bash  bayes  bayesian  bc  bdd  best  best-practices  bestpractice  bestpractices  billing  block  blocks  blog  blogs  book  books  branch  browser  builder  bundler  business  calendar  canada  capistrano  card  career  cargocult  cells  charity  cheatsheet  checklist  ci  class  classification  clearance  cli  closures  clothing  cloud  cloud-computing  cloudkit  CMS  cocoa  code  coding  collaboration  collection  color  colorscheme  comet  community  comparison  components  composed_of  computer  conference  config  configuration  connect  console  consultancy  consulting  continuousintegration  contract  contributing  controller  controllers  conventions  conversion  cool  core  couchdb  count  cramp  creditcard  css  cti  cucumber  custom  dashboard  data  database  databases  datamining  date  davethomas  db  dci  ddd  debian  debugger  debugging  demo  dependencies  deploy  deployment  design  dev  developer  developers  development  diagram  directory  distributed  docs  documentation  dry  dsl  ebooks  ec2  ecommerce  edd  edge  editor  education  email  encoding  endless  engine  engines  english  erb  errors  eventmachine  events  evolution  examples  excel  exception  exceptions  experiment  ext  extensions  extjs  facebook  facets  factorygirl  fast  features  fedex  fields  files  finance  finder  fixtures  flag  flash  form  formatting  forms  forum  framework  frameworks  freckle  freelance  fts  fulltext  fulltextsearch  fun  functional  fundraising  funny  fuzzing  gameoflife  gateway  geek  gem  gems  generator  genetic  geo  geocode  geocoding  gga4r  git  github  google  googlemaps  gotchas  graph  graphics  graphviz  group  gtd  guide  guidelines  guides  hack  hacks  haml  hashrocket  has_finder  has_many  has_many_polymorphs  heatmap  help  helper  helpers  heroku  hiring  history  hosted  hosting  howto  hpricot  html  humor  humour  hydra  icon  icons  ide  idioms  imagemagick  import  indextank  infoq  inheritance  inspiration  install  interesting  interface  internet  interview  iphone  ipod  iptv  irb  irc  javascript  job  jobs  jquery  js  json  kawaii  kit  lambda  language  languages  latex  launch  layout  learning  legacy  legal  length  leopard  libraries  library  linguistics  links  linux  list  lists  location  locomotive  log  logfile  login  logs  lucene  mac  macosx  magazine  magic  management  manual  maps  markdown  markup  mashup  merb  merchant  merge  messaging  meta  metaclasses  metal  metaprogramming  method  methodology  metrics  micro  microframework  middleware  migration  migrations  minimal  mistakes  mobile  mocking  modeling  models  mod_rails  money  mongrel  monitoring  mvc  mysql  named_scope  nonprofit  notification  notifier  oauth  object  oniguruma  online  ontario  oo  oocss  oop  opengl  openoffice  opensource  operators  opinion  optimization  oreilly  organization  orm  osx  paginate  pagination  parser  passenger  patch  pattern  patterns  payment  payments  paypal  pci  pdf  people  performance  persistence  philosophy  phone  php  pivotal  planning  plugin  plugins  pluralize  podcasts  polymorphic  popularity  portal  porter  portfolio  postgres  postgresql  practices  presentation  presentations  presenter  proc  processing  production  productivity  programming  progress  project  projectmanagement  prototype  proxy  push  python  quality  questions  queue  quickbooks  rack  rails  railstips  rake  ranking  rdiscount  rdoc  read  recipe  recipes  recurring  red  redshift  refactoring  reference  regex  regexp  reporting  research  resource  resources  respond_to  rest  resume  ror  routes  rspec  rss  rtex  ruby  ruby1.9  rubygems  rubyonrails  s3  saas  scaffold  scalability  scaling  schema  scraping  screen  screencast  screencasts  screenscraping  scripts  search  seaside  security  selenium  server  service  services  sessions  share  shell  shipping  shopping  shoulda  sinatra  singleton  size  slides  slideshow  slug  smackdown  smalltalk  snippets  snowleopard  social  socialnetworking  software  sort  sortable  spec  sphinx  spider  spot-us  spreadsheet  sql  standards  state  statemachine  state_machine  statistics  stats  stemmer  stemming  story  string  strings  stubbing  style  styleguide  subscription  subscriptions  subversion  superators  support  survey  svn  swfupload  symbols  sysadmin  system  table  tagging  tail  tanker  tasks  tdd  teams  template  templates  templating  terminal  test  testing  tests  tex  text  textmate  thoughtbot  thoughtworks  through  time  time-management  time-tracking  timemanagement  timetracking  tip  tips  tool  toolbox  tools  toronto  trac  tracker  tracking  transactions  trends  tricks  try  tshirts  tutorial  tutorials  twitter  typography  ubuntu  ultrasphinx  unicode  unix  upgrade  upload  ups  usability  usage  user  utf-8  utf8  utility  validation  vampire  vi  victoria  video  videos  views  vim  visualization  vps  waves  web  web2.0  webapp  webdesign  webdev  webdevelopment  webrat  webserver  webservices  website  websockets  why  whytheluckystiff  wiki  wishlist  word  work  workflow  working  xml  yard  zombie  zsh 

Copy this bookmark:



description:


tags: