gitlab-org--gitlab-foss/app/roles
Robert Speicher 8db2a59d0b Add StaticModel role, and add it to Commit model
Instead of doing this:

    link_to(commit.id, project_commit_path(project, id: commit.id))
    Note.create(noteable_id: commit.id, noteable_type: "Commit", ...)

It lets us do this:

    link_to(commit.id, project_commit_path(project, commit))
    Note.create(noteable: commit, ...)
2012-09-02 13:40:07 -04:00
..
account.rb Fully embrace Ruby 1.9 hash syntax 2012-08-10 18:25:15 -04:00
authority.rb Fully embrace Ruby 1.9 hash syntax 2012-08-10 18:25:15 -04:00
git_host.rb Use similar interface to access gitolite 2012-08-29 00:04:06 +03:00
issue_commonality.rb Fully embrace Ruby 1.9 hash syntax 2012-08-10 18:25:15 -04:00
push_event.rb Pushed widget improved 2012-06-21 18:41:22 +03:00
push_observer.rb Refactoring & minor css changes 2012-08-21 21:26:56 +03:00
repository.rb Use similar interface to access gitolite 2012-08-29 00:04:06 +03:00
static_model.rb Add StaticModel role, and add it to Commit model 2012-09-02 13:40:07 -04:00
team.rb Fully embrace Ruby 1.9 hash syntax 2012-08-10 18:25:15 -04:00
upvote.rb Models Refactoring: Move methods to roles 2012-06-07 15:44:57 +03:00