gitlabhq/app/models
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
..
.gitkeep init commit 2011-10-09 00:36:38 +03:00
ability.rb Merge remote-tracking branch 'origin/merge_button' 2012-04-21 12:22:56 +03:00
commit.rb Add StaticModel role, and add it to Commit model 2012-09-02 13:40:07 -04:00
event.rb Fully embrace Ruby 1.9 hash syntax 2012-08-10 18:25:15 -04:00
issue.rb Application cleanup 2012-08-17 09:09:11 +03:00
key.rb Fix test i broke with ssk key validation. Added Key.user_id as attr_protected 2012-08-29 07:58:22 +03:00
merge_request.rb Show only the commits that are newer in the merge request. 2012-08-21 23:07:11 +02:00
milestone.rb Minor cleanup to Milestone model and spec 2012-08-25 14:19:16 -04:00
note.rb Fully embrace Ruby 1.9 hash syntax 2012-08-10 18:25:15 -04:00
project.rb fix project.last_activity spec 2012-08-30 19:45:05 +03:00
project_hook.rb Refactoring of hook functionality & bootsrap system hooks 2012-07-19 00:25:10 +03:00
protected_branch.rb Use similar interface to access gitolite 2012-08-29 00:04:06 +03:00
snippet.rb Fully embrace Ruby 1.9 hash syntax 2012-08-10 18:25:15 -04:00
system_hook.rb System Hook: implemented 2012-07-19 00:25:10 +03:00
tree.rb Fully embrace Ruby 1.9 hash syntax 2012-08-10 18:25:15 -04:00
user.rb Merge branch 'better_ldap' of https://github.com/jirutka/gitlabhq into jirutka-better_ldap 2012-08-21 08:39:23 +03:00
users_project.rb Use similar interface to access gitolite 2012-08-29 00:04:06 +03:00
web_hook.rb make hooks respect http basic authentication 2012-08-02 09:48:46 +07:00
wiki.rb Fully embrace Ruby 1.9 hash syntax 2012-08-10 18:25:15 -04:00