Hacker News new | past | comments | ask | show | jobs | submit login

db/schema.rb



schema.rb contains an _incomplete_ reflection on the current SQL schema. No references, no relationships.

If you don't know the difference between AR and a declarative ORM you may want to refrain from dropping smarty oneliners.


At absolutely no point in our dev team's existence did we find a huge need to have more than the model files and/or schema.rb as a schema reference. If you can't infer what you need to from there, then maybe web dev's not your bag, baby


then maybe web dev's not your bag, baby

Over the past 15yrs I've written web-apps in 7 different languages and a wide range of frameworks.

From your comment I can infer that you know Ruby on Rails, and that's pretty much it. Maybe you should reconsider your tone?


He is a Ruby hipster. They are all about smart one liners.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: