Hacker Newsnew | past | comments | ask | show | jobs | submit | pointclick's commentslogin

> However, it can make life difficult once you start straying from "their way" even if you know exactly what you're doing for even simple things like mapping to a legacy DB with schema intact (not gonna happen).

  class Account < ActiveRecord::Base
    set_table_name "tbl_accts"
    has_many :posts, :class_name => "Post", :foreign_key => "postid"
  end

  class Post < ActiveRecord::Base
    set_table_name "tbl_posts"
    belongs_to :account, :class_name => "Account", :foreign_key => "postid"
  end

  #Account.first.posts.create(:title => "test", :body => "test")
that's almost like child's play(code is not tested, but it looks like that.. and i'm pretty sure it's sitting there quite a while)..

> Conventions over configuration is nice but it requires some stability.

if you were to compare this with an agnostic framework with drop-in, you have to set everything. with rails, you just gonna say "oh, this isn't default so i have to explicitly set this".. or "oh, this is no longer default so i have to set this".. it's just a convention.. if you want to use rails in an unconventional way, by all means do it, you just have to know more about its internals if you intend to do this -- this makes sense when you think about it(you don't want to be hacking hard on a piece of software you don't really understand, you're going to want to know what you're doing so that you have a good idea when some unexpected problem arises).

>Part of the problem is the leadership. They take the stance, "you bastards are doing it wrong" if you want to do things a little different.

if you did that and decided there's really nothing out there that can solve your problem, they you can just implement it however you want, rails is very configurable, but really, you're just limited to what ruby can do..

>So saying dissenters are slow to learn, stubborn or haven't been writing tests really doesn't do anyone a service and doesn't make anything clearer, sorry.

i'm sorry, did the article speak to you this way? are you a girl where you might be giving meaning to what's actually being said?


i prefer the way he said it.. same as bxr, i'd like to know early on what i'm about to waste time on.. i finished reading the whole thing..


well, statistics say marriage is the number one cause of divorce.. i would say your line of thinking is spot on.. ;-)


if we're talking about the murder of thousands of innocent people, investigating about this thing matters all the more.. just because it's not likely, doesn't mean it's impossible.. 'proofs are lacking on both sides' isn't conclusive to rule out that possibility..

saw an interesting documentary about this 9/11 stuff from zeitgeist: 4 videos in youtube. http://www.youtube.com/watch?v=7_E4N5YIycI http://www.youtube.com/watch?v=ECMJ2LBK90Q&feature=relat... http://www.youtube.com/watch?v=OSW1x_h4Kfo&feature=relat... http://www.youtube.com/watch?v=UeSDOb7NcgE&feature=relat...


i think you sign up at freshbooks, let freshbooks know that mixergy referred you and you will get a cake.. maybe by dropping a note after signup or some coupon code field or something like that..


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

Search: