octokit 1.0.7 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. data/CHANGELOG.md +1 -0
  2. data/lib/octokit/client.rb +3 -0
  3. data/lib/octokit/client/gists.rb +66 -0
  4. data/lib/octokit/gist.rb +27 -0
  5. data/lib/octokit/version.rb +1 -1
  6. data/spec/fixtures/timeline.json +1408 -1237
  7. data/spec/fixtures/v2/blob_metadata.json +2052 -1
  8. data/spec/fixtures/v2/blobs.json +260 -1
  9. data/spec/fixtures/v2/issues.json +49 -1
  10. data/spec/fixtures/v2/network_data.json +3551 -1
  11. data/spec/fixtures/v2/network_meta.json +2530 -1
  12. data/spec/fixtures/v2/repositories.json +173 -1
  13. data/spec/fixtures/v2/tree_metadata.json +2612 -1
  14. data/spec/fixtures/v2/user.json +19 -1
  15. data/spec/fixtures/v2/users.json +24 -1
  16. data/spec/fixtures/v3/blob.json +5 -5
  17. data/spec/fixtures/v3/branches.json +14 -14
  18. data/spec/fixtures/v3/collaborators.json +60 -60
  19. data/spec/fixtures/v3/comment.json +12 -12
  20. data/spec/fixtures/v3/comments.json +41 -41
  21. data/spec/fixtures/v3/commit.json +50 -1
  22. data/spec/fixtures/v3/commit_comment.json +17 -17
  23. data/spec/fixtures/v3/commit_comments.json +76 -76
  24. data/spec/fixtures/v3/commits.json +1414 -1
  25. data/spec/fixtures/v3/contributors.json +889 -889
  26. data/spec/fixtures/v3/download.json +9 -9
  27. data/spec/fixtures/v3/downloads.json +33 -33
  28. data/spec/fixtures/v3/emails.json +3 -3
  29. data/spec/fixtures/v3/followers.json +210 -210
  30. data/spec/fixtures/v3/following.json +207 -207
  31. data/spec/fixtures/v3/forks.json +870 -870
  32. data/spec/fixtures/v3/gist.json +51 -0
  33. data/spec/fixtures/v3/gists.json +548 -0
  34. data/spec/fixtures/v3/issue.json +33 -35
  35. data/spec/fixtures/v3/issue_closed.json +34 -36
  36. data/spec/fixtures/v3/issue_event.json +40 -42
  37. data/spec/fixtures/v3/issue_events.json +70 -70
  38. data/spec/fixtures/v3/issues.json +1559 -1577
  39. data/spec/fixtures/v3/label.json +3 -3
  40. data/spec/fixtures/v3/labels.json +15 -15
  41. data/spec/fixtures/v3/languages.json +3 -3
  42. data/spec/fixtures/v3/list_commit_comments.json +570 -570
  43. data/spec/fixtures/v3/milestone.json +9 -10
  44. data/spec/fixtures/v3/milestones.json +25 -25
  45. data/spec/fixtures/v3/not_found.json +1 -1
  46. data/spec/fixtures/v3/organization-repositories.json +4290 -4290
  47. data/spec/fixtures/v3/organization-repository.json +41 -41
  48. data/spec/fixtures/v3/organization.json +16 -16
  49. data/spec/fixtures/v3/organization_members.json +574 -574
  50. data/spec/fixtures/v3/organization_team_members.json +14 -14
  51. data/spec/fixtures/v3/organization_team_repos.json +60 -60
  52. data/spec/fixtures/v3/organizations.json +42 -42
  53. data/spec/fixtures/v3/public_events.json +1101 -1107
  54. data/spec/fixtures/v3/public_gists.json +968 -0
  55. data/spec/fixtures/v3/public_key.json +3 -3
  56. data/spec/fixtures/v3/public_keys.json +5 -5
  57. data/spec/fixtures/v3/pull_created.json +134 -134
  58. data/spec/fixtures/v3/pull_request.json +134 -134
  59. data/spec/fixtures/v3/pull_requests.json +185 -185
  60. data/spec/fixtures/v3/repo_events.json +1644 -1660
  61. data/spec/fixtures/v3/repo_issues_events.json +127 -133
  62. data/spec/fixtures/v3/repositories.json +871 -871
  63. data/spec/fixtures/v3/repository.json +33 -33
  64. data/spec/fixtures/v3/starred_gists.json +30 -0
  65. data/spec/fixtures/v3/tags.json +171 -171
  66. data/spec/fixtures/v3/team.json +6 -6
  67. data/spec/fixtures/v3/teams.json +10 -10
  68. data/spec/fixtures/v3/tree.json +110 -110
  69. data/spec/fixtures/v3/user.json +18 -18
  70. data/spec/fixtures/v3/user_events.json +99 -100
  71. data/spec/fixtures/v3/watched.json +1020 -1020
  72. data/spec/fixtures/v3/watchers.json +180 -180
  73. data/spec/octokit/client/gists_spec.rb +133 -0
  74. data/spec/octokit/gist_spec.rb +49 -0
  75. metadata +40 -26
@@ -1,187 +1,187 @@
1
1
  [
2
- {
3
- "number": 928,
4
- "patch_url": "https://github.com/sferik/rails_admin/pull/928.patch",
5
- "url": "https://api.github.com/repos/sferik/rails_admin/pulls/928",
6
- "body": "Without this patch, rails\\_admin skips hidden fields when it's handing out classnames.\r\n\r\n_Bummer._\r\n\r\nBecause, I found a case where I really wanted to hook into classnames on hidden fields, too.\r\n\r\nThe case goes like this: I want to drag-and-drop nested items around, re-order them. So, I hacked together something using the `position` attribute rails\\_admin already favors, and I add `position` to the form as a hidden input.\r\nNext, I have to get jQuery UI's Sortables to _find_ that hidden `position` input. But all I have is a name and an id to work with. So unless I do something ugly like `$(\"input[name$='[position]']\")` I can't find the hidden inputs and add behavior to them.\r\n\r\nIt seemed that if I just had a classname to grab onto, it would make the code much more clear.\r\n\r\nSo, with the code in this pull request, now I get a `hidden_position_field` on the div containing the `position` inputs. Now I can update the position values whenever I drag and drop a nested item around. \r\n\r\n_Totally sweet._\r\n\r\nHow about an example? Well, given a configuration like this:\r\n\r\n config.model Thing do\r\n nested do\r\n field :position, :hidden do\r\n help '' # no caption\r\n end\r\n field :description\r\n end\r\n end\r\n\r\n… I can setup jQuery UI's Sortables on the nested items like so:\r\n\r\n $(function() {\r\n var sortable_model = 'things';\r\n \r\n var sortable_target = '#' + sortable_model + '_attributes_field';\r\n var sortable_input_field = '.hidden_position_field';\r\n var sortable_items = 'div.fields';\r\n $(sortable_target).sortable({\r\n items: sortable_items,\r\n cursor: 'all-scroll',\r\n tolerance: 'pointer',\r\n scroll: true,\r\n scrollSensitivity: 100,\r\n placeholder: 'ui-state-highlight',\r\n forcePlaceholderSize: true,\r\n forceHelperSize: true,\r\n update: function() {\r\n $.each($(sortable_target).find(sortable_input_field), function(n, obj) {\r\n $(obj).find('input').val(n);\r\n });\r\n }\r\n });\r\n });\r\n",
7
- "closed_at": null,
8
- "diff_url": "https://github.com/sferik/rails_admin/pull/928.diff",
9
- "updated_at": "2012-01-16T04:09:55Z",
10
- "state": "open",
11
- "_links": {
12
- "html": {
13
- "href": "https://github.com/sferik/rails_admin/pull/928"
14
- },
15
- "review_comments": {
16
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/928/comments"
17
- },
18
- "comments": {
19
- "href": "https://api.github.com/repos/sferik/rails_admin/issues/928/comments"
20
- },
21
- "self": {
22
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/928"
23
- }
24
- },
25
- "issue_url": "https://github.com/sferik/rails_admin/issues/928",
26
- "merged_at": null,
27
- "user": {
28
- "url": "https://api.github.com/users/audionerd",
29
- "avatar_url": "https://secure.gravatar.com/avatar/9c1b01901ef90d3908c63fd3118938c7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
30
- "gravatar_id": "9c1b01901ef90d3908c63fd3118938c7",
31
- "login": "audionerd",
32
- "id": 23459
33
- },
34
- "title": "Give hidden input fields a field-specific classname",
35
- "html_url": "https://github.com/sferik/rails_admin/pull/928",
36
- "id": 691424,
37
- "created_at": "2012-01-15T06:53:07Z"
38
- },
39
- {
40
- "number": 833,
41
- "patch_url": "https://github.com/sferik/rails_admin/pull/833.patch",
42
- "url": "https://api.github.com/repos/sferik/rails_admin/pulls/833",
43
- "body": "Works the same as enum, but use 'multi' keyword to create multi select form.",
44
- "closed_at": null,
45
- "diff_url": "https://github.com/sferik/rails_admin/pull/833.diff",
46
- "updated_at": "2011-11-23T15:32:23Z",
47
- "state": "open",
48
- "_links": {
49
- "html": {
50
- "href": "https://github.com/sferik/rails_admin/pull/833"
51
- },
52
- "review_comments": {
53
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/833/comments"
54
- },
55
- "comments": {
56
- "href": "https://api.github.com/repos/sferik/rails_admin/issues/833/comments"
57
- },
58
- "self": {
59
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/833"
60
- }
61
- },
62
- "issue_url": "https://github.com/sferik/rails_admin/issues/833",
63
- "merged_at": null,
64
- "user": {
65
- "url": "https://api.github.com/users/stiller",
66
- "avatar_url": "https://secure.gravatar.com/avatar/150b7dfb3c10c343999c41183f3253cd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
67
- "gravatar_id": "150b7dfb3c10c343999c41183f3253cd",
68
- "login": "stiller",
69
- "id": 548535
70
- },
71
- "title": "Added multi select option to enum",
72
- "html_url": "https://github.com/sferik/rails_admin/pull/833",
73
- "id": 496043,
74
- "created_at": "2011-11-15T15:13:44Z"
75
- },
76
- {
77
- "number": 827,
78
- "patch_url": "https://github.com/sferik/rails_admin/pull/827.patch",
79
- "url": "https://api.github.com/repos/sferik/rails_admin/pulls/827",
80
- "body": "model Event\r\nhas_many :timings\r\nhas_many :placements\r\n\r\nmodel Event::Timing\r\nhas_many :timing_placements\r\nhas_many :placements, :source => :placement, :through => :timing_placements\r\n\r\nmodel Event::Placement\r\n\r\nmodel Event::TimingPlacement\r\nbelongs_to :timing\r\nbelongs_to :placement\r\n\r\nWhen I edit the event and click \"create timing\" I want to see a multiselect with placements for the event\r\n\r\n config.model Event::Timing do\r\n parent Event\r\n\r\n field :placements do\r\n associated_collection_scope do\r\n timing = bindings[:object]\r\n Proc.new { |scope|\r\n scope = scope.where(:event_id => timing.event_id) if timing.present?\r\n scope\r\n }\r\n end\r\n end\r\n end\r\n",
81
- "closed_at": null,
82
- "diff_url": "https://github.com/sferik/rails_admin/pull/827.diff",
83
- "updated_at": "2011-11-23T15:32:23Z",
84
- "state": "open",
85
- "_links": {
86
- "html": {
87
- "href": "https://github.com/sferik/rails_admin/pull/827"
88
- },
89
- "review_comments": {
90
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/827/comments"
91
- },
92
- "comments": {
93
- "href": "https://api.github.com/repos/sferik/rails_admin/issues/827/comments"
94
- },
95
- "self": {
96
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/827"
97
- }
98
- },
99
- "issue_url": "https://github.com/sferik/rails_admin/issues/827",
100
- "merged_at": null,
101
- "user": {
102
- "url": "https://api.github.com/users/mokevnin",
103
- "avatar_url": "https://secure.gravatar.com/avatar/104200ed9f8e87411934cba84d04fa95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
104
- "gravatar_id": "104200ed9f8e87411934cba84d04fa95",
105
- "login": "mokevnin",
106
- "id": 308430
107
- },
108
- "title": "added associations to new object",
109
- "html_url": "https://github.com/sferik/rails_admin/pull/827",
110
- "id": 485317,
111
- "created_at": "2011-11-11T08:23:32Z"
112
- },
113
- {
114
- "number": 561,
115
- "patch_url": "https://github.com/sferik/rails_admin/pull/561.patch",
116
- "url": "https://api.github.com/repos/sferik/rails_admin/pulls/561",
117
- "body": "In a couple of my projects, I used rails_admin as my application framework. It covers 80% of what I needed and I only had to implement a few home made controllers to handle the 20% left.\r\n\r\nNote that to accomplish this I used the following technique: https://gist.github.com/1086055 which allows to reuse the awesome Activo theme of Rails Admin for my whole application.\r\n\r\nNow, I needed to insert some additional links to my home made controllers into the Rails Admin navigation.\r\n\r\nAnother use case would be if I wanted to have a permanent link always in the navigation: for instance, let's say I have a customer model, and I want to always see a link to \"Add new customer\" in my navigation (from every admin pages). I could use the feature as well.\r\n\r\nThis pull request is a first stab at it, which I think is not ideal:\r\n1) I don't like the configuration syntax that much\r\n2) It's missing tests and docs (to be fixed of course)\r\n\r\nThe syntax currently looks like this\r\n\r\n``` ruby\r\nRailsAdmin.config do |config|\r\n config.nav_before_models = {\r\n 'foo' => {\r\n 'label' => 'Foo',\r\n 'url' => 'foo/foo',\r\n },\r\n 'bar' => {\r\n 'label' => 'Bar',\r\n 'url' => 'bar/bar'\r\n }\r\n }\r\n config.nav_after_models = {\r\n 'stuff' => {\r\n 'label' => 'More stuff',\r\n 'url' => 'more/stuff'\r\n }\r\n }\r\nend\r\n```\r\n\r\nIdeally, I wanted to use the RailsAdmin::Config::Navigation class, but it's being deprecated. The syntax could have looked like this:\r\n\r\n``` ruby\r\nRailsAdmin.config do |config|\r\n config.navigation.before_models do\r\n link :foo do\r\n label 'Foo'\r\n url 'foo/foo'\r\n end\r\n link :bar do\r\n label 'Bar'\r\n url 'bar/bar'\r\n end\r\n end\r\n config.navigation.after_models do end\r\n link :stuff do\r\n label 'More stuff'\r\n url 'more/stuff'\r\n end\r\n end\r\nend\r\n```\r\n\r\n\r\nWhat do you think? Any suggestion on what would be the best approach?\r\n",
118
- "closed_at": null,
119
- "diff_url": "https://github.com/sferik/rails_admin/pull/561.diff",
120
- "updated_at": "2011-11-23T15:32:23Z",
121
- "state": "open",
122
- "_links": {
123
- "html": {
124
- "href": "https://github.com/sferik/rails_admin/pull/561"
125
- },
126
- "review_comments": {
127
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/561/comments"
128
- },
129
- "comments": {
130
- "href": "https://api.github.com/repos/sferik/rails_admin/issues/561/comments"
131
- },
132
- "self": {
133
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/561"
134
- }
135
- },
136
- "issue_url": "https://github.com/sferik/rails_admin/issues/561",
137
- "merged_at": null,
138
- "user": {
139
- "url": "https://api.github.com/users/jphpsf",
140
- "avatar_url": "https://secure.gravatar.com/avatar/c1cb39f9320d1b293114a6dc447b7873?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
141
- "gravatar_id": "c1cb39f9320d1b293114a6dc447b7873",
142
- "login": "jphpsf",
143
- "id": 100218
144
- },
145
- "title": "Additional navigation proposal",
146
- "html_url": "https://github.com/sferik/rails_admin/pull/561",
147
- "id": 226217,
148
- "created_at": "2011-07-16T06:03:23Z"
149
- },
150
- {
151
- "number": 560,
152
- "patch_url": "https://github.com/sferik/rails_admin/pull/560.patch",
153
- "url": "https://api.github.com/repos/sferik/rails_admin/pulls/560",
154
- "body": "This is a simple change to allow to customize the text in the footer of Rails Admin. ",
155
- "closed_at": null,
156
- "diff_url": "https://github.com/sferik/rails_admin/pull/560.diff",
157
- "updated_at": "2011-11-23T15:32:23Z",
158
- "state": "open",
159
- "_links": {
160
- "html": {
161
- "href": "https://github.com/sferik/rails_admin/pull/560"
162
- },
163
- "review_comments": {
164
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/560/comments"
165
- },
166
- "comments": {
167
- "href": "https://api.github.com/repos/sferik/rails_admin/issues/560/comments"
168
- },
169
- "self": {
170
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/560"
171
- }
172
- },
173
- "issue_url": "https://github.com/sferik/rails_admin/issues/560",
174
- "merged_at": null,
175
- "user": {
176
- "url": "https://api.github.com/users/jphpsf",
177
- "avatar_url": "https://secure.gravatar.com/avatar/c1cb39f9320d1b293114a6dc447b7873?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
178
- "gravatar_id": "c1cb39f9320d1b293114a6dc447b7873",
179
- "login": "jphpsf",
180
- "id": 100218
181
- },
182
- "title": "Make the footer customizable",
183
- "html_url": "https://github.com/sferik/rails_admin/pull/560",
184
- "id": 226194,
185
- "created_at": "2011-07-16T04:24:26Z"
186
- }
2
+ {
3
+ "_links": {
4
+ "comments": {
5
+ "href": "https://api.github.com/repos/sferik/rails_admin/issues/928/comments"
6
+ },
7
+ "html": {
8
+ "href": "https://github.com/sferik/rails_admin/pull/928"
9
+ },
10
+ "review_comments": {
11
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/928/comments"
12
+ },
13
+ "self": {
14
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/928"
15
+ }
16
+ },
17
+ "body": "Without this patch, rails\\_admin skips hidden fields when it's handing out classnames.\r\n\r\n_Bummer._\r\n\r\nBecause, I found a case where I really wanted to hook into classnames on hidden fields, too.\r\n\r\nThe case goes like this: I want to drag-and-drop nested items around, re-order them. So, I hacked together something using the `position` attribute rails\\_admin already favors, and I add `position` to the form as a hidden input.\r\nNext, I have to get jQuery UI's Sortables to _find_ that hidden `position` input. But all I have is a name and an id to work with. So unless I do something ugly like `$(\"input[name$='[position]']\")` I can't find the hidden inputs and add behavior to them.\r\n\r\nIt seemed that if I just had a classname to grab onto, it would make the code much more clear.\r\n\r\nSo, with the code in this pull request, now I get a `hidden_position_field` on the div containing the `position` inputs. Now I can update the position values whenever I drag and drop a nested item around. \r\n\r\n_Totally sweet._\r\n\r\nHow about an example? Well, given a configuration like this:\r\n\r\n config.model Thing do\r\n nested do\r\n field :position, :hidden do\r\n help '' # no caption\r\n end\r\n field :description\r\n end\r\n end\r\n\r\n\u2026 I can setup jQuery UI's Sortables on the nested items like so:\r\n\r\n $(function() {\r\n var sortable_model = 'things';\r\n \r\n var sortable_target = '#' + sortable_model + '_attributes_field';\r\n var sortable_input_field = '.hidden_position_field';\r\n var sortable_items = 'div.fields';\r\n $(sortable_target).sortable({\r\n items: sortable_items,\r\n cursor: 'all-scroll',\r\n tolerance: 'pointer',\r\n scroll: true,\r\n scrollSensitivity: 100,\r\n placeholder: 'ui-state-highlight',\r\n forcePlaceholderSize: true,\r\n forceHelperSize: true,\r\n update: function() {\r\n $.each($(sortable_target).find(sortable_input_field), function(n, obj) {\r\n $(obj).find('input').val(n);\r\n });\r\n }\r\n });\r\n });\r\n",
18
+ "closed_at": null,
19
+ "created_at": "2012-01-15T06:53:07Z",
20
+ "diff_url": "https://github.com/sferik/rails_admin/pull/928.diff",
21
+ "html_url": "https://github.com/sferik/rails_admin/pull/928",
22
+ "id": 691424,
23
+ "issue_url": "https://github.com/sferik/rails_admin/issues/928",
24
+ "merged_at": null,
25
+ "number": 928,
26
+ "patch_url": "https://github.com/sferik/rails_admin/pull/928.patch",
27
+ "state": "open",
28
+ "title": "Give hidden input fields a field-specific classname",
29
+ "updated_at": "2012-01-16T04:09:55Z",
30
+ "url": "https://api.github.com/repos/sferik/rails_admin/pulls/928",
31
+ "user": {
32
+ "avatar_url": "https://secure.gravatar.com/avatar/9c1b01901ef90d3908c63fd3118938c7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
33
+ "gravatar_id": "9c1b01901ef90d3908c63fd3118938c7",
34
+ "id": 23459,
35
+ "login": "audionerd",
36
+ "url": "https://api.github.com/users/audionerd"
37
+ }
38
+ },
39
+ {
40
+ "_links": {
41
+ "comments": {
42
+ "href": "https://api.github.com/repos/sferik/rails_admin/issues/833/comments"
43
+ },
44
+ "html": {
45
+ "href": "https://github.com/sferik/rails_admin/pull/833"
46
+ },
47
+ "review_comments": {
48
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/833/comments"
49
+ },
50
+ "self": {
51
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/833"
52
+ }
53
+ },
54
+ "body": "Works the same as enum, but use 'multi' keyword to create multi select form.",
55
+ "closed_at": null,
56
+ "created_at": "2011-11-15T15:13:44Z",
57
+ "diff_url": "https://github.com/sferik/rails_admin/pull/833.diff",
58
+ "html_url": "https://github.com/sferik/rails_admin/pull/833",
59
+ "id": 496043,
60
+ "issue_url": "https://github.com/sferik/rails_admin/issues/833",
61
+ "merged_at": null,
62
+ "number": 833,
63
+ "patch_url": "https://github.com/sferik/rails_admin/pull/833.patch",
64
+ "state": "open",
65
+ "title": "Added multi select option to enum",
66
+ "updated_at": "2011-11-23T15:32:23Z",
67
+ "url": "https://api.github.com/repos/sferik/rails_admin/pulls/833",
68
+ "user": {
69
+ "avatar_url": "https://secure.gravatar.com/avatar/150b7dfb3c10c343999c41183f3253cd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
70
+ "gravatar_id": "150b7dfb3c10c343999c41183f3253cd",
71
+ "id": 548535,
72
+ "login": "stiller",
73
+ "url": "https://api.github.com/users/stiller"
74
+ }
75
+ },
76
+ {
77
+ "_links": {
78
+ "comments": {
79
+ "href": "https://api.github.com/repos/sferik/rails_admin/issues/827/comments"
80
+ },
81
+ "html": {
82
+ "href": "https://github.com/sferik/rails_admin/pull/827"
83
+ },
84
+ "review_comments": {
85
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/827/comments"
86
+ },
87
+ "self": {
88
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/827"
89
+ }
90
+ },
91
+ "body": "model Event\r\nhas_many :timings\r\nhas_many :placements\r\n\r\nmodel Event::Timing\r\nhas_many :timing_placements\r\nhas_many :placements, :source => :placement, :through => :timing_placements\r\n\r\nmodel Event::Placement\r\n\r\nmodel Event::TimingPlacement\r\nbelongs_to :timing\r\nbelongs_to :placement\r\n\r\nWhen I edit the event and click \"create timing\" I want to see a multiselect with placements for the event\r\n\r\n config.model Event::Timing do\r\n parent Event\r\n\r\n field :placements do\r\n associated_collection_scope do\r\n timing = bindings[:object]\r\n Proc.new { |scope|\r\n scope = scope.where(:event_id => timing.event_id) if timing.present?\r\n scope\r\n }\r\n end\r\n end\r\n end\r\n",
92
+ "closed_at": null,
93
+ "created_at": "2011-11-11T08:23:32Z",
94
+ "diff_url": "https://github.com/sferik/rails_admin/pull/827.diff",
95
+ "html_url": "https://github.com/sferik/rails_admin/pull/827",
96
+ "id": 485317,
97
+ "issue_url": "https://github.com/sferik/rails_admin/issues/827",
98
+ "merged_at": null,
99
+ "number": 827,
100
+ "patch_url": "https://github.com/sferik/rails_admin/pull/827.patch",
101
+ "state": "open",
102
+ "title": "added associations to new object",
103
+ "updated_at": "2011-11-23T15:32:23Z",
104
+ "url": "https://api.github.com/repos/sferik/rails_admin/pulls/827",
105
+ "user": {
106
+ "avatar_url": "https://secure.gravatar.com/avatar/104200ed9f8e87411934cba84d04fa95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
107
+ "gravatar_id": "104200ed9f8e87411934cba84d04fa95",
108
+ "id": 308430,
109
+ "login": "mokevnin",
110
+ "url": "https://api.github.com/users/mokevnin"
111
+ }
112
+ },
113
+ {
114
+ "_links": {
115
+ "comments": {
116
+ "href": "https://api.github.com/repos/sferik/rails_admin/issues/561/comments"
117
+ },
118
+ "html": {
119
+ "href": "https://github.com/sferik/rails_admin/pull/561"
120
+ },
121
+ "review_comments": {
122
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/561/comments"
123
+ },
124
+ "self": {
125
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/561"
126
+ }
127
+ },
128
+ "body": "In a couple of my projects, I used rails_admin as my application framework. It covers 80% of what I needed and I only had to implement a few home made controllers to handle the 20% left.\r\n\r\nNote that to accomplish this I used the following technique: https://gist.github.com/1086055 which allows to reuse the awesome Activo theme of Rails Admin for my whole application.\r\n\r\nNow, I needed to insert some additional links to my home made controllers into the Rails Admin navigation.\r\n\r\nAnother use case would be if I wanted to have a permanent link always in the navigation: for instance, let's say I have a customer model, and I want to always see a link to \"Add new customer\" in my navigation (from every admin pages). I could use the feature as well.\r\n\r\nThis pull request is a first stab at it, which I think is not ideal:\r\n1) I don't like the configuration syntax that much\r\n2) It's missing tests and docs (to be fixed of course)\r\n\r\nThe syntax currently looks like this\r\n\r\n``` ruby\r\nRailsAdmin.config do |config|\r\n config.nav_before_models = {\r\n 'foo' => {\r\n 'label' => 'Foo',\r\n 'url' => 'foo/foo',\r\n },\r\n 'bar' => {\r\n 'label' => 'Bar',\r\n 'url' => 'bar/bar'\r\n }\r\n }\r\n config.nav_after_models = {\r\n 'stuff' => {\r\n 'label' => 'More stuff',\r\n 'url' => 'more/stuff'\r\n }\r\n }\r\nend\r\n```\r\n\r\nIdeally, I wanted to use the RailsAdmin::Config::Navigation class, but it's being deprecated. The syntax could have looked like this:\r\n\r\n``` ruby\r\nRailsAdmin.config do |config|\r\n config.navigation.before_models do\r\n link :foo do\r\n label 'Foo'\r\n url 'foo/foo'\r\n end\r\n link :bar do\r\n label 'Bar'\r\n url 'bar/bar'\r\n end\r\n end\r\n config.navigation.after_models do end\r\n link :stuff do\r\n label 'More stuff'\r\n url 'more/stuff'\r\n end\r\n end\r\nend\r\n```\r\n\r\n\r\nWhat do you think? Any suggestion on what would be the best approach?\r\n",
129
+ "closed_at": null,
130
+ "created_at": "2011-07-16T06:03:23Z",
131
+ "diff_url": "https://github.com/sferik/rails_admin/pull/561.diff",
132
+ "html_url": "https://github.com/sferik/rails_admin/pull/561",
133
+ "id": 226217,
134
+ "issue_url": "https://github.com/sferik/rails_admin/issues/561",
135
+ "merged_at": null,
136
+ "number": 561,
137
+ "patch_url": "https://github.com/sferik/rails_admin/pull/561.patch",
138
+ "state": "open",
139
+ "title": "Additional navigation proposal",
140
+ "updated_at": "2011-11-23T15:32:23Z",
141
+ "url": "https://api.github.com/repos/sferik/rails_admin/pulls/561",
142
+ "user": {
143
+ "avatar_url": "https://secure.gravatar.com/avatar/c1cb39f9320d1b293114a6dc447b7873?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
144
+ "gravatar_id": "c1cb39f9320d1b293114a6dc447b7873",
145
+ "id": 100218,
146
+ "login": "jphpsf",
147
+ "url": "https://api.github.com/users/jphpsf"
148
+ }
149
+ },
150
+ {
151
+ "_links": {
152
+ "comments": {
153
+ "href": "https://api.github.com/repos/sferik/rails_admin/issues/560/comments"
154
+ },
155
+ "html": {
156
+ "href": "https://github.com/sferik/rails_admin/pull/560"
157
+ },
158
+ "review_comments": {
159
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/560/comments"
160
+ },
161
+ "self": {
162
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/560"
163
+ }
164
+ },
165
+ "body": "This is a simple change to allow to customize the text in the footer of Rails Admin. ",
166
+ "closed_at": null,
167
+ "created_at": "2011-07-16T04:24:26Z",
168
+ "diff_url": "https://github.com/sferik/rails_admin/pull/560.diff",
169
+ "html_url": "https://github.com/sferik/rails_admin/pull/560",
170
+ "id": 226194,
171
+ "issue_url": "https://github.com/sferik/rails_admin/issues/560",
172
+ "merged_at": null,
173
+ "number": 560,
174
+ "patch_url": "https://github.com/sferik/rails_admin/pull/560.patch",
175
+ "state": "open",
176
+ "title": "Make the footer customizable",
177
+ "updated_at": "2011-11-23T15:32:23Z",
178
+ "url": "https://api.github.com/repos/sferik/rails_admin/pulls/560",
179
+ "user": {
180
+ "avatar_url": "https://secure.gravatar.com/avatar/c1cb39f9320d1b293114a6dc447b7873?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
181
+ "gravatar_id": "c1cb39f9320d1b293114a6dc447b7873",
182
+ "id": 100218,
183
+ "login": "jphpsf",
184
+ "url": "https://api.github.com/users/jphpsf"
185
+ }
186
+ }
187
187
  ]
@@ -1,1668 +1,1652 @@
1
1
  [
2
- {
3
- "type": "IssuesEvent",
4
- "public": true,
5
- "repo": {
6
- "id": 810796,
7
- "name": "sferik/rails_admin",
8
- "url": "https://api.github.com/repos/sferik/rails_admin"
9
- },
10
- "created_at": "2012-01-21T10:27:24Z",
11
- "payload": {
12
- "action": "opened",
13
- "issue": {
14
- "number": 938,
15
- "pull_request": {
16
- "diff_url": null,
17
- "patch_url": null,
18
- "html_url": null
19
- },
20
- "created_at": "2012-01-21T10:27:24Z",
21
- "body": "After updating to latest version catch a bug, when all edit-action doesn't works. \r\n\r\n```\r\nNoMethodError in Rails_admin/main#edit\r\n\r\nShowing /home/gadfgdfgd/.rvm/gems/ruby-1.9.2-p290/bundler/gems/rails_admin-d381ac95b1ea/app/views/rails_admin/main/_form_filtering_multiselect.html.haml where line #32 raised:\r\n\r\nundefined method `title' for #<Personality:0x007f5e4c625190>\r\n\r\nExtracted source (around line #32):\r\n\r\n29: - if authorized? :new, config.abstract_model\r\n30: - path_hash = { :model_name => config.abstract_model.to_param, :modal => true }\r\n31: - path_hash.merge!({ :associations => { field.inverse_of => (form.object.id || 'new') } }) if field.inverse_of\r\n32: = link_to wording_for(:link, :new, config.abstract_model), '#', :data => { :link => new_path(path_hash) }, :class => \"create btn\", :style => 'margin-left:10px' \r\n33: \r\n34: = form.javascript_for(field) do\r\n35: :plain\r\n```",
22
- "title": "NoMethodError in Rails_admin/main#edit ",
23
- "comments": 0,
24
- "updated_at": "2012-01-21T10:27:24Z",
25
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/938",
26
- "id": 2920762,
27
- "assignee": null,
28
- "milestone": null,
29
- "closed_at": null,
30
- "html_url": "https://github.com/sferik/rails_admin/issues/938",
31
- "user": {
32
- "gravatar_id": "5834104e2a5c757c33586a0968c097ba",
33
- "avatar_url": "https://secure.gravatar.com/avatar/5834104e2a5c757c33586a0968c097ba?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
34
- "url": "https://api.github.com/users/wildDAlex",
35
- "id": 841673,
36
- "login": "wildDAlex"
37
- },
38
- "labels": [
39
-
40
- ],
41
- "state": "open"
42
- }
43
- },
44
- "org": {
45
- "url": "https://api.github.com/orgs/"
46
- },
47
- "actor": {
48
- "gravatar_id": "5834104e2a5c757c33586a0968c097ba",
49
- "id": 841673,
50
- "url": "https://api.github.com/users/wildDAlex",
51
- "login": "wildDAlex"
52
- },
53
- "id": "1513284402"
54
- },
55
- {
56
- "type": "ForkEvent",
57
- "public": true,
58
- "repo": {
59
- "id": 810796,
60
- "name": "sferik/rails_admin",
61
- "url": "https://api.github.com/repos/sferik/rails_admin"
62
- },
63
- "created_at": "2012-01-21T06:24:42Z",
64
- "payload": {
65
- "forkee": {
66
- "name": "rails_admin",
67
- "master_branch": null,
68
- "size": 420,
69
- "has_wiki": true,
70
- "created_at": "2012-01-21T06:24:41Z",
71
- "clone_url": "https://github.com/nathanpsouza/rails_admin.git",
72
- "public": true,
73
- "updated_at": "2012-01-21T06:24:41Z",
74
- "private": false,
75
- "watchers": 1,
76
- "url": "https://api.github.com/repos/nathanpsouza/rails_admin",
77
- "language": "Ruby",
78
- "fork": true,
79
- "git_url": "git://github.com/nathanpsouza/rails_admin.git",
80
- "ssh_url": "git@github.com:nathanpsouza/rails_admin.git",
81
- "id": 3232500,
82
- "svn_url": "https://github.com/nathanpsouza/rails_admin",
83
- "pushed_at": "2012-01-20T16:20:43Z",
84
- "has_downloads": true,
85
- "mirror_url": null,
86
- "open_issues": 0,
87
- "has_issues": false,
88
- "homepage": "",
89
- "forks": 0,
90
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
91
- "html_url": "https://github.com/nathanpsouza/rails_admin",
92
- "owner": {
93
- "gravatar_id": "c830b700b5183b16c3c0a7fd76da12d9",
94
- "avatar_url": "https://secure.gravatar.com/avatar/c830b700b5183b16c3c0a7fd76da12d9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
95
- "url": "https://api.github.com/users/nathanpsouza",
96
- "id": 244316,
97
- "login": "nathanpsouza"
98
- }
99
- }
100
- },
101
- "org": {
102
- "url": "https://api.github.com/orgs/"
103
- },
104
- "actor": {
105
- "gravatar_id": "c830b700b5183b16c3c0a7fd76da12d9",
106
- "id": 244316,
107
- "url": "https://api.github.com/users/nathanpsouza",
108
- "login": "nathanpsouza"
109
- },
110
- "id": "1513265963"
111
- },
112
- {
113
- "type": "IssuesEvent",
114
- "public": true,
115
- "repo": {
116
- "id": 810796,
117
- "name": "sferik/rails_admin",
118
- "url": "https://api.github.com/repos/sferik/rails_admin"
119
- },
120
- "created_at": "2012-01-21T00:09:29Z",
121
- "payload": {
122
- "action": "closed",
123
- "issue": {
124
- "number": 934,
125
- "pull_request": {
126
- "diff_url": null,
127
- "patch_url": null,
128
- "html_url": null
129
- },
130
- "created_at": "2012-01-20T14:36:57Z",
131
- "body": "I've just upgraded to the recent commit and found the following issues which I believe seem to be caused by the following line in the wording_for helper:\r\n\r\n :object_label => model_config && object.try(model_config.object_label_method)\r\n\r\nSituation 1:\r\nI haven't defined an own object_label_method for a model and the the model has no attribute called \"name\". I such situations the above line throws an error.\r\n\r\nI've fixed this by defining an object_label_method for each model, but I'd prefer this to be caught in the helper.\r\n\r\nSituation 2:\r\nIn the _form_filtering_select and _form_filtering_multiselect views, \r\n\r\n = link_to wording_for(:link, :new, config.abstract_model) ...\r\n\r\nthrows an error when the associated_model has not an attribute of the name of the object_label_method of the @object model.\r\n\r\nI've fixed this by adding a nil object, but should be in the helper.\r\n\r\n = link_to wording_for(:link, :new, config.abstract_model, nil)",
132
- "title": "Error caused by wording_for",
133
- "comments": 2,
134
- "updated_at": "2012-01-21T00:09:27Z",
135
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/934",
136
- "id": 2911854,
137
- "assignee": null,
138
- "milestone": null,
139
- "closed_at": "2012-01-21T00:09:27Z",
140
- "labels": [
141
-
142
- ],
143
- "html_url": "https://github.com/sferik/rails_admin/issues/934",
144
- "user": {
145
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
146
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
147
- "url": "https://api.github.com/users/reinkcar",
148
- "id": 12294,
149
- "login": "reinkcar"
150
- },
151
- "state": "closed"
152
- }
153
- },
154
- "org": {
155
- "url": "https://api.github.com/orgs/"
156
- },
157
- "actor": {
158
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
159
- "id": 12294,
160
- "url": "https://api.github.com/users/reinkcar",
161
- "login": "reinkcar"
162
- },
163
- "id": "1513226679"
164
- },
165
- {
166
- "type": "IssueCommentEvent",
167
- "public": true,
168
- "repo": {
169
- "id": 810796,
170
- "name": "sferik/rails_admin",
171
- "url": "https://api.github.com/repos/sferik/rails_admin"
172
- },
173
- "created_at": "2012-01-21T00:09:29Z",
174
- "payload": {
175
- "comment": {
176
- "created_at": "2012-01-21T00:09:27Z",
177
- "body": "Hi,\r\n\r\nfor #2: I've submitted a fix (#937)\r\nfor #1: Error seems to be caused by another gem I've used.\r\n\r\nClosing.\r\n\r\n",
178
- "updated_at": "2012-01-21T00:09:27Z",
179
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/comments/3592970",
180
- "id": 3592970,
181
- "user": {
182
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
183
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
184
- "url": "https://api.github.com/users/reinkcar",
185
- "id": 12294,
186
- "login": "reinkcar"
187
- }
188
- },
189
- "action": "created",
190
- "issue": {
191
- "number": 934,
192
- "pull_request": {
193
- "diff_url": null,
194
- "patch_url": null,
195
- "html_url": null
196
- },
197
- "created_at": "2012-01-20T14:36:57Z",
198
- "body": "I've just upgraded to the recent commit and found the following issues which I believe seem to be caused by the following line in the wording_for helper:\r\n\r\n :object_label => model_config && object.try(model_config.object_label_method)\r\n\r\nSituation 1:\r\nI haven't defined an own object_label_method for a model and the the model has no attribute called \"name\". I such situations the above line throws an error.\r\n\r\nI've fixed this by defining an object_label_method for each model, but I'd prefer this to be caught in the helper.\r\n\r\nSituation 2:\r\nIn the _form_filtering_select and _form_filtering_multiselect views, \r\n\r\n = link_to wording_for(:link, :new, config.abstract_model) ...\r\n\r\nthrows an error when the associated_model has not an attribute of the name of the object_label_method of the @object model.\r\n\r\nI've fixed this by adding a nil object, but should be in the helper.\r\n\r\n = link_to wording_for(:link, :new, config.abstract_model, nil)",
199
- "title": "Error caused by wording_for",
200
- "comments": 2,
201
- "updated_at": "2012-01-21T00:09:27Z",
202
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/934",
203
- "id": 2911854,
204
- "assignee": null,
205
- "milestone": null,
206
- "closed_at": "2012-01-21T00:09:27Z",
207
- "html_url": "https://github.com/sferik/rails_admin/issues/934",
208
- "labels": [
209
-
210
- ],
211
- "user": {
212
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
213
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
214
- "url": "https://api.github.com/users/reinkcar",
215
- "id": 12294,
216
- "login": "reinkcar"
217
- },
218
- "state": "closed"
219
- }
220
- },
221
- "org": {
222
- "url": "https://api.github.com/orgs/"
223
- },
224
- "actor": {
225
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
226
- "id": 12294,
227
- "url": "https://api.github.com/users/reinkcar",
228
- "login": "reinkcar"
229
- },
230
- "id": "1513226684"
231
- },
232
- {
233
- "type": "PullRequestEvent",
234
- "public": true,
235
- "repo": {
236
- "id": 810796,
237
- "name": "sferik/rails_admin",
238
- "url": "https://api.github.com/repos/sferik/rails_admin"
239
- },
240
- "created_at": "2012-01-20T23:45:05Z",
241
- "payload": {
242
- "number": 937,
243
- "pull_request": {
244
- "issue_url": "https://github.com/sferik/rails_admin/issues/937",
245
- "head": {
246
- "repo": {
247
- "name": "rails_admin",
248
- "master_branch": null,
249
- "created_at": "2011-11-08T19:48:51Z",
250
- "has_wiki": true,
251
- "size": 2712,
252
- "clone_url": "https://github.com/reinkcar/rails_admin.git",
253
- "watchers": 1,
254
- "private": false,
255
- "updated_at": "2012-01-20T23:38:03Z",
256
- "git_url": "git://github.com/reinkcar/rails_admin.git",
257
- "language": "Ruby",
258
- "fork": true,
259
- "ssh_url": "git@github.com:reinkcar/rails_admin.git",
260
- "url": "https://api.github.com/repos/reinkcar/rails_admin",
261
- "pushed_at": "2012-01-20T23:38:03Z",
262
- "svn_url": "https://github.com/reinkcar/rails_admin",
263
- "id": 2736456,
264
- "open_issues": 0,
265
- "mirror_url": null,
266
- "has_downloads": true,
267
- "homepage": "",
268
- "has_issues": false,
269
- "forks": 0,
270
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
271
- "html_url": "https://github.com/reinkcar/rails_admin",
272
- "owner": {
273
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
274
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
275
- "url": "https://api.github.com/users/reinkcar",
276
- "id": 12294,
277
- "login": "reinkcar"
2
+ {
3
+ "actor": {
4
+ "gravatar_id": "5834104e2a5c757c33586a0968c097ba",
5
+ "id": 841673,
6
+ "login": "wildDAlex",
7
+ "url": "https://api.github.com/users/wildDAlex"
8
+ },
9
+ "created_at": "2012-01-21T10:27:24Z",
10
+ "id": "1513284402",
11
+ "org": {
12
+ "url": "https://api.github.com/orgs/"
13
+ },
14
+ "payload": {
15
+ "action": "opened",
16
+ "issue": {
17
+ "assignee": null,
18
+ "body": "After updating to latest version catch a bug, when all edit-action doesn't works. \r\n\r\n```\r\nNoMethodError in Rails_admin/main#edit\r\n\r\nShowing /home/gadfgdfgd/.rvm/gems/ruby-1.9.2-p290/bundler/gems/rails_admin-d381ac95b1ea/app/views/rails_admin/main/_form_filtering_multiselect.html.haml where line #32 raised:\r\n\r\nundefined method `title' for #<Personality:0x007f5e4c625190>\r\n\r\nExtracted source (around line #32):\r\n\r\n29: - if authorized? :new, config.abstract_model\r\n30: - path_hash = { :model_name => config.abstract_model.to_param, :modal => true }\r\n31: - path_hash.merge!({ :associations => { field.inverse_of => (form.object.id || 'new') } }) if field.inverse_of\r\n32: = link_to wording_for(:link, :new, config.abstract_model), '#', :data => { :link => new_path(path_hash) }, :class => \"create btn\", :style => 'margin-left:10px' \r\n33: \r\n34: = form.javascript_for(field) do\r\n35: :plain\r\n```",
19
+ "closed_at": null,
20
+ "comments": 0,
21
+ "created_at": "2012-01-21T10:27:24Z",
22
+ "html_url": "https://github.com/sferik/rails_admin/issues/938",
23
+ "id": 2920762,
24
+ "labels": [],
25
+ "milestone": null,
26
+ "number": 938,
27
+ "pull_request": {
28
+ "diff_url": null,
29
+ "html_url": null,
30
+ "patch_url": null
31
+ },
32
+ "state": "open",
33
+ "title": "NoMethodError in Rails_admin/main#edit ",
34
+ "updated_at": "2012-01-21T10:27:24Z",
35
+ "url": "https://api.github.com/repos/sferik/rails_admin/issues/938",
36
+ "user": {
37
+ "avatar_url": "https://secure.gravatar.com/avatar/5834104e2a5c757c33586a0968c097ba?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
38
+ "gravatar_id": "5834104e2a5c757c33586a0968c097ba",
39
+ "id": 841673,
40
+ "login": "wildDAlex",
41
+ "url": "https://api.github.com/users/wildDAlex"
42
+ }
278
43
  }
279
- },
280
- "label": "reinkcar:master",
281
- "sha": "de3cadb81c34ce9ec4f0ce69a0a8742eb87039d5",
282
- "ref": "master",
283
- "user": {
284
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
285
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
286
- "url": "https://api.github.com/users/reinkcar",
287
- "id": 12294,
288
- "login": "reinkcar"
289
- }
290
- },
291
- "number": 937,
292
- "merged_by": null,
293
- "created_at": "2012-01-20T23:45:04Z",
294
- "merged": false,
295
- "changed_files": 1,
296
- "body": "wording_for now checks, if object is an instance of abstract_model.model",
297
- "title": "Fix for Issue #934 / Bug in wording_for",
298
- "comments": 0,
299
- "additions": 1,
300
- "diff_url": "https://github.com/sferik/rails_admin/pull/937.diff",
301
- "updated_at": "2012-01-20T23:45:04Z",
302
- "url": "https://api.github.com/repos/sferik/rails_admin/pulls/937",
303
- "_links": {
304
- "html": {
305
- "href": "https://github.com/sferik/rails_admin/pull/937"
306
- },
307
- "self": {
308
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/937"
309
- },
310
- "comments": {
311
- "href": "https://api.github.com/repos/sferik/rails_admin/issues/937/comments"
312
- },
313
- "review_comments": {
314
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/937/comments"
315
- }
316
- },
317
- "id": 718281,
318
- "patch_url": "https://github.com/sferik/rails_admin/pull/937.patch",
319
- "mergeable": null,
320
- "closed_at": null,
321
- "commits": 2,
322
- "merged_at": null,
323
- "review_comments": 0,
324
- "deletions": 1,
325
- "html_url": "https://github.com/sferik/rails_admin/pull/937",
326
- "user": {
327
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
328
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
329
- "url": "https://api.github.com/users/reinkcar",
330
- "id": 12294,
331
- "login": "reinkcar"
332
- },
333
- "base": {
334
- "repo": {
335
- "name": "rails_admin",
336
- "master_branch": null,
337
- "created_at": "2010-08-01T17:01:00Z",
338
- "has_wiki": true,
339
- "size": 420,
340
- "clone_url": "https://github.com/sferik/rails_admin.git",
341
- "watchers": 2722,
342
- "private": false,
343
- "updated_at": "2012-01-20T16:20:43Z",
344
- "git_url": "git://github.com/sferik/rails_admin.git",
345
- "language": "Ruby",
346
- "fork": false,
347
- "ssh_url": "git@github.com:sferik/rails_admin.git",
348
- "url": "https://api.github.com/repos/sferik/rails_admin",
349
- "pushed_at": "2012-01-20T16:20:43Z",
350
- "svn_url": "https://github.com/sferik/rails_admin",
351
- "id": 810796,
352
- "open_issues": 59,
353
- "mirror_url": null,
354
- "has_downloads": true,
355
- "homepage": "",
356
- "has_issues": true,
357
- "forks": 535,
358
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
359
- "html_url": "https://github.com/sferik/rails_admin",
360
- "owner": {
361
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
362
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
363
- "url": "https://api.github.com/users/sferik",
364
- "id": 10308,
365
- "login": "sferik"
44
+ },
45
+ "public": true,
46
+ "repo": {
47
+ "id": 810796,
48
+ "name": "sferik/rails_admin",
49
+ "url": "https://api.github.com/repos/sferik/rails_admin"
50
+ },
51
+ "type": "IssuesEvent"
52
+ },
53
+ {
54
+ "actor": {
55
+ "gravatar_id": "c830b700b5183b16c3c0a7fd76da12d9",
56
+ "id": 244316,
57
+ "login": "nathanpsouza",
58
+ "url": "https://api.github.com/users/nathanpsouza"
59
+ },
60
+ "created_at": "2012-01-21T06:24:42Z",
61
+ "id": "1513265963",
62
+ "org": {
63
+ "url": "https://api.github.com/orgs/"
64
+ },
65
+ "payload": {
66
+ "forkee": {
67
+ "clone_url": "https://github.com/nathanpsouza/rails_admin.git",
68
+ "created_at": "2012-01-21T06:24:41Z",
69
+ "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
70
+ "fork": true,
71
+ "forks": 0,
72
+ "git_url": "git://github.com/nathanpsouza/rails_admin.git",
73
+ "has_downloads": true,
74
+ "has_issues": false,
75
+ "has_wiki": true,
76
+ "homepage": "",
77
+ "html_url": "https://github.com/nathanpsouza/rails_admin",
78
+ "id": 3232500,
79
+ "language": "Ruby",
80
+ "master_branch": null,
81
+ "mirror_url": null,
82
+ "name": "rails_admin",
83
+ "open_issues": 0,
84
+ "owner": {
85
+ "avatar_url": "https://secure.gravatar.com/avatar/c830b700b5183b16c3c0a7fd76da12d9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
86
+ "gravatar_id": "c830b700b5183b16c3c0a7fd76da12d9",
87
+ "id": 244316,
88
+ "login": "nathanpsouza",
89
+ "url": "https://api.github.com/users/nathanpsouza"
90
+ },
91
+ "private": false,
92
+ "public": true,
93
+ "pushed_at": "2012-01-20T16:20:43Z",
94
+ "size": 420,
95
+ "ssh_url": "git@github.com:nathanpsouza/rails_admin.git",
96
+ "svn_url": "https://github.com/nathanpsouza/rails_admin",
97
+ "updated_at": "2012-01-21T06:24:41Z",
98
+ "url": "https://api.github.com/repos/nathanpsouza/rails_admin",
99
+ "watchers": 1
366
100
  }
367
- },
368
- "label": "sferik:master",
369
- "sha": "d381ac95b1ea1a33c3b1671ff513e91879c324c4",
370
- "ref": "master",
371
- "user": {
372
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
373
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
374
- "url": "https://api.github.com/users/sferik",
375
- "id": 10308,
376
- "login": "sferik"
377
- }
378
- },
379
- "state": "open"
380
- },
381
- "action": "opened"
382
- },
383
- "org": {
384
- "url": "https://api.github.com/orgs/"
385
- },
386
- "actor": {
387
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
388
- "id": 12294,
389
- "url": "https://api.github.com/users/reinkcar",
390
- "login": "reinkcar"
391
- },
392
- "id": "1513221979"
393
- },
394
- {
395
- "type": "CommitCommentEvent",
396
- "public": true,
397
- "repo": {
398
- "id": 810796,
399
- "name": "sferik/rails_admin",
400
- "url": "https://api.github.com/repos/sferik/rails_admin"
401
- },
402
- "created_at": "2012-01-20T21:46:45Z",
403
- "payload": {
404
- "comment": {
405
- "position": null,
406
- "created_at": "2012-01-20T21:46:45Z",
407
- "body": "Okay, now that you've explained it, it makes sense, but big decisions like this need to be brought up for discussion before they're made.",
408
- "line": null,
409
- "commit_id": "135a4693fa231dd0fa0438a20bf4835be75f2772",
410
- "updated_at": "2012-01-20T21:46:45Z",
411
- "url": "https://api.github.com/repos/sferik/rails_admin/comments/887427",
412
- "id": 887427,
413
- "path": null,
414
- "html_url": "https://github.com/sferik/rails_admin/commit/135a4693fa#commitcomment-887427",
415
- "user": {
416
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
417
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
418
- "url": "https://api.github.com/users/sferik",
419
- "id": 10308,
420
- "login": "sferik"
421
- }
422
- }
423
- },
424
- "org": {
425
- "url": "https://api.github.com/orgs/"
426
- },
427
- "actor": {
428
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
429
- "id": 10308,
430
- "url": "https://api.github.com/users/sferik",
431
- "login": "sferik"
432
- },
433
- "id": "1513194035"
434
- },
435
- {
436
- "type": "IssueCommentEvent",
437
- "public": true,
438
- "repo": {
439
- "id": 810796,
440
- "name": "sferik/rails_admin",
441
- "url": "https://api.github.com/repos/sferik/rails_admin"
442
- },
443
- "created_at": "2012-01-20T21:41:48Z",
444
- "payload": {
445
- "comment": {
446
- "created_at": "2012-01-20T21:41:48Z",
447
- "body": "Sucks! We need some integration testing with JS to tackle this kind of regressions..\r\nCan you test on the dummy app to see if it's specific to your app? I'm not on my workstation atm.",
448
- "updated_at": "2012-01-20T21:41:48Z",
449
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/comments/3591063",
450
- "id": 3591063,
451
- "user": {
452
- "avatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
453
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
454
- "url": "https://api.github.com/users/bbenezech",
455
- "id": 26794,
456
- "login": "bbenezech"
457
- }
458
- },
459
- "action": "created",
460
- "issue": {
461
- "number": 936,
462
- "pull_request": {
463
- "diff_url": null,
464
- "patch_url": null,
465
- "html_url": null
466
- },
467
- "created_at": "2012-01-20T20:57:00Z",
468
- "body": "My remote form modals for both belong_to and has_many through association are no longer working for me. Let's say I'm editing a Post in my system which has_many tags through taggings (polymorphic on the taggable). When I click \"add tag\" it takes me into editing the current post in modal form. Not creating a new tag! When I double click on an existing tag, however, it let's me edit it.\r\n\r\nNow let's say I edit something with a belongs_to relationship. I can neither add a new nor edit the existing association in the dropdown or it takes me to editing the current selected object in the model.\r\n\r\nWha's weirder is when I close out the model, I get some weird html bugs where it will clone the association boxes on the page and break them.\r\n\r\nThis happens for me in all 3 web browsers. Chrome, Firefox, and Safari.\r\n\r\nI've tried clearing out everything in my rails_admin initializer so it just uses the model definitions. Still not working.\r\n\r\nLet me know what you need from me to help debug more.\r\n\r\n",
469
- "title": "Remote Form Modals on \"Create\" no longer working",
470
- "comments": 1,
471
- "updated_at": "2012-01-20T21:41:48Z",
472
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/936",
473
- "id": 2916704,
474
- "assignee": null,
475
- "milestone": null,
476
- "closed_at": null,
477
- "labels": [
478
-
479
- ],
480
- "html_url": "https://github.com/sferik/rails_admin/issues/936",
481
- "user": {
482
- "avatar_url": "https://secure.gravatar.com/avatar/52fbfdf72bf76e14d1961931849b8bbf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
483
- "gravatar_id": "52fbfdf72bf76e14d1961931849b8bbf",
484
- "url": "https://api.github.com/users/mediavine",
485
- "id": 852746,
486
- "login": "mediavine"
487
- },
488
- "state": "open"
489
- }
490
- },
491
- "org": {
492
- "url": "https://api.github.com/orgs/"
493
- },
494
- "actor": {
495
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
496
- "id": 26794,
497
- "url": "https://api.github.com/users/bbenezech",
498
- "login": "bbenezech"
499
- },
500
- "id": "1513192790"
501
- },
502
- {
503
- "type": "IssuesEvent",
504
- "public": true,
505
- "repo": {
506
- "id": 810796,
507
- "name": "sferik/rails_admin",
508
- "url": "https://api.github.com/repos/sferik/rails_admin"
509
- },
510
- "created_at": "2012-01-20T20:57:00Z",
511
- "payload": {
512
- "action": "opened",
513
- "issue": {
514
- "number": 936,
515
- "pull_request": {
516
- "diff_url": null,
517
- "patch_url": null,
518
- "html_url": null
519
- },
520
- "created_at": "2012-01-20T20:57:00Z",
521
- "body": "My remote form modals for both belong_to and has_many through association are no longer working for me. Let's say I'm editing a Post in my system which has_many tags through taggings (polymorphic on the taggable). When I click \"add tag\" it takes me into editing the current post in modal form. Not creating a new tag! When I double click on an existing tag, however, it let's me edit it.\r\n\r\nNow let's say I edit something with a belongs_to relationship. I can neither add a new nor edit the existing association in the dropdown or it takes me to editing the current selected object in the model.\r\n\r\nWha's weirder is when I close out the model, I get some weird html bugs where it will clone the association boxes on the page and break them.\r\n\r\nThis happens for me in all 3 web browsers. Chrome, Firefox, and Safari.\r\n\r\nI've tried clearing out everything in my rails_admin initializer so it just uses the model definitions. Still not working.\r\n\r\nLet me know what you need from me to help debug more.\r\n\r\n",
522
- "title": "Remote Form Modals on \"Create\" no longer working",
523
- "comments": 0,
524
- "updated_at": "2012-01-20T20:57:00Z",
525
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/936",
526
- "id": 2916704,
527
- "assignee": null,
528
- "milestone": null,
529
- "closed_at": null,
530
- "labels": [
531
-
532
- ],
533
- "html_url": "https://github.com/sferik/rails_admin/issues/936",
534
- "user": {
535
- "avatar_url": "https://secure.gravatar.com/avatar/52fbfdf72bf76e14d1961931849b8bbf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
536
- "gravatar_id": "52fbfdf72bf76e14d1961931849b8bbf",
537
- "url": "https://api.github.com/users/mediavine",
538
- "id": 852746,
539
- "login": "mediavine"
540
- },
541
- "state": "open"
542
- }
543
- },
544
- "org": {
545
- "url": "https://api.github.com/orgs/"
546
- },
547
- "actor": {
548
- "gravatar_id": "52fbfdf72bf76e14d1961931849b8bbf",
549
- "id": 852746,
550
- "url": "https://api.github.com/users/mediavine",
551
- "login": "mediavine"
552
- },
553
- "id": "1513176989"
554
- },
555
- {
556
- "type": "CommitCommentEvent",
557
- "public": true,
558
- "repo": {
559
- "id": 810796,
560
- "name": "sferik/rails_admin",
561
- "url": "https://api.github.com/repos/sferik/rails_admin"
562
- },
563
- "created_at": "2012-01-20T20:34:46Z",
564
- "payload": {
565
- "comment": {
566
- "position": null,
567
- "created_at": "2012-01-20T20:34:46Z",
568
- "body": "Devise translations don't belong here, it's plain old duplication. Lot of them are totally outdated.\r\n\r\nAbout the rest, wasn't much I could do.\r\nBecause of the refact., 80% keys changed. Couldn't just leave that mess, or just reset all translations with english. It was the right time to move it to the wiki.\r\n\r\nLoud thinking:\r\n\r\n* I18n adds a lot of overhead (adding keys in 20 files, noise when searching/refactoring, pull requests)\r\n* RailsAdmin is maturing, we can't leave unmaintained code inside, it gives a wrong message about the quality of the software. And we can't maintain 20 languages we don't know or just rely on PR that we can't review\r\n* It's too awkward to officially support some translation in the codebase and not another. Now, officially supported is neutral English, copy and translate it to your needs, go wiki for example in your language, share&maintain your own if you like\r\n* Since actions are dynamic, any custom code or plugin will add it's own keys, there is no such thing as 'the right translation'\r\n* I18n is not only translation, it is also configuration, do your own cooking\r\n",
569
- "line": null,
570
- "commit_id": "135a4693fa231dd0fa0438a20bf4835be75f2772",
571
- "updated_at": "2012-01-20T20:34:46Z",
572
- "url": "https://api.github.com/repos/sferik/rails_admin/comments/887240",
573
- "id": 887240,
574
- "path": null,
575
- "html_url": "https://github.com/sferik/rails_admin/commit/135a4693fa#commitcomment-887240",
576
- "user": {
577
- "avatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
578
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
579
- "url": "https://api.github.com/users/bbenezech",
580
- "id": 26794,
581
- "login": "bbenezech"
582
- }
583
- }
584
- },
585
- "org": {
586
- "url": "https://api.github.com/orgs/"
587
- },
588
- "actor": {
589
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
590
- "id": 26794,
591
- "url": "https://api.github.com/users/bbenezech",
592
- "login": "bbenezech"
593
- },
594
- "id": "1513171403"
595
- },
596
- {
597
- "type": "CommitCommentEvent",
598
- "public": true,
599
- "repo": {
600
- "id": 810796,
601
- "name": "sferik/rails_admin",
602
- "url": "https://api.github.com/repos/sferik/rails_admin"
603
- },
604
- "created_at": "2012-01-20T16:47:14Z",
605
- "payload": {
606
- "comment": {
607
- "position": null,
608
- "created_at": "2012-01-20T16:47:14Z",
609
- "body": "I'm just seeing this commit now. Was this really the best solution to the problem. Why are translations in the wiki better than translations in the codebase? If you think it's too much of a maintenance burden, then we should just add more maintainers who are responsible just for maintaining translations.\r\n\r\nIf general, I'd prefer you if you brought issues like this up for discussion before committing them to master. This commit breaks the app for a large number of our international users. :(",
610
- "line": null,
611
- "commit_id": "135a4693fa231dd0fa0438a20bf4835be75f2772",
612
- "updated_at": "2012-01-20T16:47:14Z",
613
- "url": "https://api.github.com/repos/sferik/rails_admin/comments/886554",
614
- "id": 886554,
615
- "path": null,
616
- "html_url": "https://github.com/sferik/rails_admin/commit/135a4693fa#commitcomment-886554",
617
- "user": {
618
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
619
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
620
- "url": "https://api.github.com/users/sferik",
621
- "id": 10308,
622
- "login": "sferik"
623
- }
624
- }
625
- },
626
- "org": {
627
- "url": "https://api.github.com/orgs/"
628
- },
629
- "actor": {
630
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
631
- "id": 10308,
632
- "url": "https://api.github.com/users/sferik",
633
- "login": "sferik"
634
- },
635
- "id": "1513112467"
636
- },
637
- {
638
- "type": "PushEvent",
639
- "public": true,
640
- "repo": {
641
- "id": 810796,
642
- "name": "sferik/rails_admin",
643
- "url": "https://api.github.com/repos/sferik/rails_admin"
644
- },
645
- "created_at": "2012-01-20T16:20:46Z",
646
- "payload": {
647
- "head": "d381ac95b1ea1a33c3b1671ff513e91879c324c4",
648
- "size": 1,
649
- "push_id": 58423090,
650
- "ref": "refs/heads/master",
651
- "commits": [
652
- {
653
- "sha": "d381ac95b1ea1a33c3b1671ff513e91879c324c4",
654
- "author": {
655
- "name": "Benoit Bénézech",
656
- "email": "benoit.benezech@gmail.com"
657
- },
658
- "url": "https://api.github.com/repos/sferik/rails_admin/commits/d381ac95b1ea1a33c3b1671ff513e91879c324c4",
659
- "message": "Update README.md"
660
- }
661
- ]
662
- },
663
- "org": {
664
- "url": "https://api.github.com/orgs/"
665
- },
666
- "actor": {
667
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
668
- "id": 26794,
669
- "url": "https://api.github.com/users/bbenezech",
670
- "login": "bbenezech"
671
- },
672
- "id": "1513105167"
673
- },
674
- {
675
- "type": "PushEvent",
676
- "public": true,
677
- "repo": {
678
- "id": 810796,
679
- "name": "sferik/rails_admin",
680
- "url": "https://api.github.com/repos/sferik/rails_admin"
681
- },
682
- "created_at": "2012-01-20T16:19:05Z",
683
- "payload": {
684
- "head": "7d175815851bcc1f2e700f27d6a9d81bb4d9163d",
685
- "size": 1,
686
- "push_id": 58422798,
687
- "commits": [
688
- {
689
- "sha": "7d175815851bcc1f2e700f27d6a9d81bb4d9163d",
690
- "author": {
691
- "name": "Benoit Bénézech",
692
- "email": "benoit.benezech@gmail.com"
693
- },
694
- "url": "https://api.github.com/repos/sferik/rails_admin/commits/7d175815851bcc1f2e700f27d6a9d81bb4d9163d",
695
- "message": "test is not necessary anymore (visible not checked if bindings are absents)"
696
- }
697
- ],
698
- "ref": "refs/heads/master"
699
- },
700
- "org": {
701
- "url": "https://api.github.com/orgs/"
702
- },
703
- "actor": {
704
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
705
- "id": 26794,
706
- "url": "https://api.github.com/users/bbenezech",
707
- "login": "bbenezech"
708
- },
709
- "id": "1513104683"
710
- },
711
- {
712
- "type": "GollumEvent",
713
- "public": true,
714
- "repo": {
715
- "id": 810796,
716
- "name": "sferik/rails_admin",
717
- "url": "https://api.github.com/repos/sferik/rails_admin"
718
- },
719
- "created_at": "2012-01-20T16:17:46Z",
720
- "payload": {
721
- "pages": [
722
- {
723
- "sha": "3cb2f0b02d0b00c12fd24af7add2608d5b0d6c0f",
724
- "title": "Actions",
725
- "action": "edited",
726
- "page_name": "Actions",
727
- "summary": null,
728
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions"
729
- }
730
- ]
731
- },
732
- "org": {
733
- "url": "https://api.github.com/orgs/"
734
- },
735
- "actor": {
736
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
737
- "id": 26794,
738
- "url": "https://api.github.com/users/bbenezech",
739
- "login": "bbenezech"
740
- },
741
- "id": "1513104297"
742
- },
743
- {
744
- "type": "GollumEvent",
745
- "public": true,
746
- "repo": {
747
- "id": 810796,
748
- "name": "sferik/rails_admin",
749
- "url": "https://api.github.com/repos/sferik/rails_admin"
750
- },
751
- "created_at": "2012-01-20T16:16:50Z",
752
- "payload": {
753
- "pages": [
754
- {
755
- "sha": "9267814055198113f937127bb71874f3f93713bb",
756
- "title": "Actions",
757
- "action": "edited",
758
- "page_name": "Actions",
759
- "summary": null,
760
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions"
761
- }
762
- ]
763
- },
764
- "org": {
765
- "url": "https://api.github.com/orgs/"
766
- },
767
- "actor": {
768
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
769
- "id": 26794,
770
- "url": "https://api.github.com/users/bbenezech",
771
- "login": "bbenezech"
772
- },
773
- "id": "1513104045"
774
- },
775
- {
776
- "type": "GollumEvent",
777
- "public": true,
778
- "repo": {
779
- "id": 810796,
780
- "name": "sferik/rails_admin",
781
- "url": "https://api.github.com/repos/sferik/rails_admin"
782
- },
783
- "created_at": "2012-01-20T16:15:40Z",
784
- "payload": {
785
- "pages": [
786
- {
787
- "sha": "3c4a708fd2c3ec8b646d5b1915f59d8b3819ff73",
788
- "title": "Actions",
789
- "action": "edited",
790
- "page_name": "Actions",
791
- "summary": null,
792
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions"
793
- }
794
- ]
795
- },
796
- "org": {
797
- "url": "https://api.github.com/orgs/"
798
- },
799
- "actor": {
800
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
801
- "id": 26794,
802
- "url": "https://api.github.com/users/bbenezech",
803
- "login": "bbenezech"
804
- },
805
- "id": "1513103710"
806
- },
807
- {
808
- "type": "GollumEvent",
809
- "public": true,
810
- "repo": {
811
- "id": 810796,
812
- "name": "sferik/rails_admin",
813
- "url": "https://api.github.com/repos/sferik/rails_admin"
814
- },
815
- "created_at": "2012-01-20T16:15:12Z",
816
- "payload": {
817
- "pages": [
818
- {
819
- "sha": "fc7985ea8bc2033ddadfbc51b97d8d84830f5170",
820
- "title": "Actions",
821
- "action": "edited",
822
- "page_name": "Actions",
823
- "summary": null,
824
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions"
825
- }
826
- ]
827
- },
828
- "org": {
829
- "url": "https://api.github.com/orgs/"
830
- },
831
- "actor": {
832
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
833
- "id": 26794,
834
- "url": "https://api.github.com/users/bbenezech",
835
- "login": "bbenezech"
836
- },
837
- "id": "1513103575"
838
- },
839
- {
840
- "type": "GollumEvent",
841
- "public": true,
842
- "repo": {
843
- "id": 810796,
844
- "name": "sferik/rails_admin",
845
- "url": "https://api.github.com/repos/sferik/rails_admin"
846
- },
847
- "created_at": "2012-01-20T16:14:20Z",
848
- "payload": {
849
- "pages": [
850
- {
851
- "sha": "4f8779696a3a794f4a0ebdd615f51f8437453882",
852
- "title": "Actions",
853
- "action": "edited",
854
- "page_name": "Actions",
855
- "summary": null,
856
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions"
857
- }
858
- ]
859
- },
860
- "org": {
861
- "url": "https://api.github.com/orgs/"
862
- },
863
- "actor": {
864
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
865
- "id": 26794,
866
- "url": "https://api.github.com/users/bbenezech",
867
- "login": "bbenezech"
868
- },
869
- "id": "1513103328"
870
- },
871
- {
872
- "type": "GollumEvent",
873
- "public": true,
874
- "repo": {
875
- "id": 810796,
876
- "name": "sferik/rails_admin",
877
- "url": "https://api.github.com/repos/sferik/rails_admin"
878
- },
879
- "created_at": "2012-01-20T16:13:39Z",
880
- "payload": {
881
- "pages": [
882
- {
883
- "sha": "fe36f71b19845fe10f389dc784bb8ea1328bc2c4",
884
- "title": "Actions",
885
- "action": "edited",
886
- "page_name": "Actions",
887
- "summary": null,
888
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions"
889
- }
890
- ]
891
- },
892
- "org": {
893
- "url": "https://api.github.com/orgs/"
894
- },
895
- "actor": {
896
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
897
- "id": 26794,
898
- "url": "https://api.github.com/users/bbenezech",
899
- "login": "bbenezech"
900
- },
901
- "id": "1513103119"
902
- },
903
- {
904
- "type": "GollumEvent",
905
- "public": true,
906
- "repo": {
907
- "id": 810796,
908
- "name": "sferik/rails_admin",
909
- "url": "https://api.github.com/repos/sferik/rails_admin"
910
- },
911
- "created_at": "2012-01-20T16:12:27Z",
912
- "payload": {
913
- "pages": [
914
- {
915
- "sha": "91361f5733f617b59ea290d8780bdd0fec404a4d",
916
- "title": "Actions",
917
- "action": "edited",
918
- "page_name": "Actions",
919
- "summary": null,
920
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions"
921
- }
922
- ]
923
- },
924
- "org": {
925
- "url": "https://api.github.com/orgs/"
926
- },
927
- "actor": {
928
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
929
- "id": 26794,
930
- "url": "https://api.github.com/users/bbenezech",
931
- "login": "bbenezech"
932
- },
933
- "id": "1513102773"
934
- },
935
- {
936
- "type": "GollumEvent",
937
- "public": true,
938
- "repo": {
939
- "id": 810796,
940
- "name": "sferik/rails_admin",
941
- "url": "https://api.github.com/repos/sferik/rails_admin"
942
- },
943
- "created_at": "2012-01-20T16:12:17Z",
944
- "payload": {
945
- "pages": [
946
- {
947
- "sha": "4be985fd23cbd0e34335f0a41962cbd4f68bcbd3",
948
- "title": "Actions",
949
- "action": "edited",
950
- "page_name": "Actions",
951
- "summary": null,
952
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions"
953
- }
954
- ]
955
- },
956
- "org": {
957
- "url": "https://api.github.com/orgs/"
958
- },
959
- "actor": {
960
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
961
- "id": 26794,
962
- "url": "https://api.github.com/users/bbenezech",
963
- "login": "bbenezech"
964
- },
965
- "id": "1513102731"
966
- },
967
- {
968
- "type": "GollumEvent",
969
- "public": true,
970
- "repo": {
971
- "id": 810796,
972
- "name": "sferik/rails_admin",
973
- "url": "https://api.github.com/repos/sferik/rails_admin"
974
- },
975
- "created_at": "2012-01-20T16:11:54Z",
976
- "payload": {
977
- "pages": [
978
- {
979
- "sha": "ae7bf058a4cb983f4fa9d5ebdfb6ebdf4221cfe6",
980
- "title": "Actions",
981
- "action": "edited",
982
- "page_name": "Actions",
983
- "summary": null,
984
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions"
985
- }
986
- ]
987
- },
988
- "org": {
989
- "url": "https://api.github.com/orgs/"
990
- },
991
- "actor": {
992
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
993
- "id": 26794,
994
- "url": "https://api.github.com/users/bbenezech",
995
- "login": "bbenezech"
996
- },
997
- "id": "1513102628"
998
- },
999
- {
1000
- "type": "GollumEvent",
1001
- "public": true,
1002
- "repo": {
1003
- "id": 810796,
1004
- "name": "sferik/rails_admin",
1005
- "url": "https://api.github.com/repos/sferik/rails_admin"
1006
- },
1007
- "created_at": "2012-01-20T16:11:36Z",
1008
- "payload": {
1009
- "pages": [
1010
- {
1011
- "sha": "f19b36b09a0da4887cc625572e06c5bc595e2536",
1012
- "title": "Actions",
1013
- "action": "edited",
1014
- "page_name": "Actions",
1015
- "summary": null,
1016
- "html_url": "https://github.com/sferik/rails_admin/wiki/Actions"
1017
- }
1018
- ]
1019
- },
1020
- "org": {
1021
- "url": "https://api.github.com/orgs/"
1022
- },
1023
- "actor": {
1024
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1025
- "id": 26794,
1026
- "url": "https://api.github.com/users/bbenezech",
1027
- "login": "bbenezech"
1028
- },
1029
- "id": "1513102556"
1030
- },
1031
- {
1032
- "type": "PullRequestEvent",
1033
- "public": true,
1034
- "repo": {
1035
- "id": 810796,
1036
- "name": "sferik/rails_admin",
1037
- "url": "https://api.github.com/repos/sferik/rails_admin"
1038
- },
1039
- "created_at": "2012-01-20T15:44:29Z",
1040
- "payload": {
1041
- "number": 935,
1042
- "pull_request": {
1043
- "head": {
1044
- "label": "msamoylov:master",
1045
- "repo": {
1046
- "name": "rails_admin",
1047
- "master_branch": null,
1048
- "size": 172,
1049
- "has_wiki": true,
1050
- "created_at": "2012-01-20T14:18:02Z",
1051
- "clone_url": "https://github.com/msamoylov/rails_admin.git",
1052
- "updated_at": "2012-01-20T14:39:07Z",
1053
- "private": false,
1054
- "watchers": 1,
1055
- "url": "https://api.github.com/repos/msamoylov/rails_admin",
1056
- "git_url": "git://github.com/msamoylov/rails_admin.git",
1057
- "language": "Ruby",
1058
- "fork": true,
1059
- "ssh_url": "git@github.com:msamoylov/rails_admin.git",
1060
- "id": 3226804,
1061
- "svn_url": "https://github.com/msamoylov/rails_admin",
1062
- "pushed_at": "2012-01-20T14:39:06Z",
1063
- "has_downloads": true,
1064
- "mirror_url": null,
1065
- "open_issues": 0,
1066
- "has_issues": false,
1067
- "homepage": "",
1068
- "forks": 0,
1069
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1070
- "html_url": "https://github.com/msamoylov/rails_admin",
1071
- "owner": {
1072
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1073
- "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1074
- "url": "https://api.github.com/users/msamoylov",
1075
- "id": 106813,
1076
- "login": "msamoylov"
101
+ },
102
+ "public": true,
103
+ "repo": {
104
+ "id": 810796,
105
+ "name": "sferik/rails_admin",
106
+ "url": "https://api.github.com/repos/sferik/rails_admin"
107
+ },
108
+ "type": "ForkEvent"
109
+ },
110
+ {
111
+ "actor": {
112
+ "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
113
+ "id": 12294,
114
+ "login": "reinkcar",
115
+ "url": "https://api.github.com/users/reinkcar"
116
+ },
117
+ "created_at": "2012-01-21T00:09:29Z",
118
+ "id": "1513226679",
119
+ "org": {
120
+ "url": "https://api.github.com/orgs/"
121
+ },
122
+ "payload": {
123
+ "action": "closed",
124
+ "issue": {
125
+ "assignee": null,
126
+ "body": "I've just upgraded to the recent commit and found the following issues which I believe seem to be caused by the following line in the wording_for helper:\r\n\r\n :object_label => model_config && object.try(model_config.object_label_method)\r\n\r\nSituation 1:\r\nI haven't defined an own object_label_method for a model and the the model has no attribute called \"name\". I such situations the above line throws an error.\r\n\r\nI've fixed this by defining an object_label_method for each model, but I'd prefer this to be caught in the helper.\r\n\r\nSituation 2:\r\nIn the _form_filtering_select and _form_filtering_multiselect views, \r\n\r\n = link_to wording_for(:link, :new, config.abstract_model) ...\r\n\r\nthrows an error when the associated_model has not an attribute of the name of the object_label_method of the @object model.\r\n\r\nI've fixed this by adding a nil object, but should be in the helper.\r\n\r\n = link_to wording_for(:link, :new, config.abstract_model, nil)",
127
+ "closed_at": "2012-01-21T00:09:27Z",
128
+ "comments": 2,
129
+ "created_at": "2012-01-20T14:36:57Z",
130
+ "html_url": "https://github.com/sferik/rails_admin/issues/934",
131
+ "id": 2911854,
132
+ "labels": [],
133
+ "milestone": null,
134
+ "number": 934,
135
+ "pull_request": {
136
+ "diff_url": null,
137
+ "html_url": null,
138
+ "patch_url": null
139
+ },
140
+ "state": "closed",
141
+ "title": "Error caused by wording_for",
142
+ "updated_at": "2012-01-21T00:09:27Z",
143
+ "url": "https://api.github.com/repos/sferik/rails_admin/issues/934",
144
+ "user": {
145
+ "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
146
+ "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
147
+ "id": 12294,
148
+ "login": "reinkcar",
149
+ "url": "https://api.github.com/users/reinkcar"
150
+ }
1077
151
  }
1078
- },
1079
- "sha": "955e420f390175c2467621857d242a53baf7e10e",
1080
- "ref": "master",
1081
- "user": {
1082
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1083
- "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1084
- "url": "https://api.github.com/users/msamoylov",
1085
- "id": 106813,
1086
- "login": "msamoylov"
1087
- }
1088
- },
1089
- "number": 935,
1090
- "issue_url": "https://github.com/sferik/rails_admin/issues/935",
1091
- "changed_files": 1,
1092
- "merged": false,
1093
- "created_at": "2012-01-20T14:42:02Z",
1094
- "merged_by": null,
1095
- "body": "Hi.\r\n\r\nI created initial russian translation for your great app.",
1096
- "title": "Initial russian translation",
1097
- "comments": 1,
1098
- "updated_at": "2012-01-20T15:44:28Z",
1099
- "additions": 129,
1100
- "diff_url": "https://github.com/sferik/rails_admin/pull/935.diff",
1101
- "url": "https://api.github.com/repos/sferik/rails_admin/pulls/935",
1102
- "_links": {
1103
- "html": {
1104
- "href": "https://github.com/sferik/rails_admin/pull/935"
1105
- },
1106
- "self": {
1107
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/935"
1108
- },
1109
- "comments": {
1110
- "href": "https://api.github.com/repos/sferik/rails_admin/issues/935/comments"
1111
- },
1112
- "review_comments": {
1113
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/935/comments"
1114
- }
1115
- },
1116
- "id": 715511,
1117
- "patch_url": "https://github.com/sferik/rails_admin/pull/935.patch",
1118
- "mergeable": true,
1119
- "commits": 1,
1120
- "merged_at": null,
1121
- "closed_at": "2012-01-20T15:44:28Z",
1122
- "html_url": "https://github.com/sferik/rails_admin/pull/935",
1123
- "user": {
1124
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1125
- "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1126
- "url": "https://api.github.com/users/msamoylov",
1127
- "id": 106813,
1128
- "login": "msamoylov"
1129
- },
1130
- "deletions": 0,
1131
- "review_comments": 0,
1132
- "base": {
1133
- "label": "sferik:master",
1134
- "repo": {
1135
- "name": "rails_admin",
1136
- "master_branch": null,
1137
- "size": 420,
1138
- "has_wiki": true,
1139
- "created_at": "2010-08-01T17:01:00Z",
1140
- "clone_url": "https://github.com/sferik/rails_admin.git",
1141
- "updated_at": "2012-01-20T15:33:49Z",
1142
- "private": false,
1143
- "watchers": 2722,
1144
- "url": "https://api.github.com/repos/sferik/rails_admin",
1145
- "git_url": "git://github.com/sferik/rails_admin.git",
1146
- "language": "Ruby",
1147
- "fork": false,
1148
- "ssh_url": "git@github.com:sferik/rails_admin.git",
1149
- "id": 810796,
1150
- "svn_url": "https://github.com/sferik/rails_admin",
1151
- "pushed_at": "2012-01-20T15:33:48Z",
1152
- "has_downloads": true,
1153
- "mirror_url": null,
1154
- "open_issues": 57,
1155
- "has_issues": true,
1156
- "homepage": "",
1157
- "forks": 535,
1158
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1159
- "html_url": "https://github.com/sferik/rails_admin",
1160
- "owner": {
1161
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
1162
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1163
- "url": "https://api.github.com/users/sferik",
1164
- "id": 10308,
1165
- "login": "sferik"
152
+ },
153
+ "public": true,
154
+ "repo": {
155
+ "id": 810796,
156
+ "name": "sferik/rails_admin",
157
+ "url": "https://api.github.com/repos/sferik/rails_admin"
158
+ },
159
+ "type": "IssuesEvent"
160
+ },
161
+ {
162
+ "actor": {
163
+ "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
164
+ "id": 12294,
165
+ "login": "reinkcar",
166
+ "url": "https://api.github.com/users/reinkcar"
167
+ },
168
+ "created_at": "2012-01-21T00:09:29Z",
169
+ "id": "1513226684",
170
+ "org": {
171
+ "url": "https://api.github.com/orgs/"
172
+ },
173
+ "payload": {
174
+ "action": "created",
175
+ "comment": {
176
+ "body": "Hi,\r\n\r\nfor #2: I've submitted a fix (#937)\r\nfor #1: Error seems to be caused by another gem I've used.\r\n\r\nClosing.\r\n\r\n",
177
+ "created_at": "2012-01-21T00:09:27Z",
178
+ "id": 3592970,
179
+ "updated_at": "2012-01-21T00:09:27Z",
180
+ "url": "https://api.github.com/repos/sferik/rails_admin/issues/comments/3592970",
181
+ "user": {
182
+ "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
183
+ "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
184
+ "id": 12294,
185
+ "login": "reinkcar",
186
+ "url": "https://api.github.com/users/reinkcar"
187
+ }
188
+ },
189
+ "issue": {
190
+ "assignee": null,
191
+ "body": "I've just upgraded to the recent commit and found the following issues which I believe seem to be caused by the following line in the wording_for helper:\r\n\r\n :object_label => model_config && object.try(model_config.object_label_method)\r\n\r\nSituation 1:\r\nI haven't defined an own object_label_method for a model and the the model has no attribute called \"name\". I such situations the above line throws an error.\r\n\r\nI've fixed this by defining an object_label_method for each model, but I'd prefer this to be caught in the helper.\r\n\r\nSituation 2:\r\nIn the _form_filtering_select and _form_filtering_multiselect views, \r\n\r\n = link_to wording_for(:link, :new, config.abstract_model) ...\r\n\r\nthrows an error when the associated_model has not an attribute of the name of the object_label_method of the @object model.\r\n\r\nI've fixed this by adding a nil object, but should be in the helper.\r\n\r\n = link_to wording_for(:link, :new, config.abstract_model, nil)",
192
+ "closed_at": "2012-01-21T00:09:27Z",
193
+ "comments": 2,
194
+ "created_at": "2012-01-20T14:36:57Z",
195
+ "html_url": "https://github.com/sferik/rails_admin/issues/934",
196
+ "id": 2911854,
197
+ "labels": [],
198
+ "milestone": null,
199
+ "number": 934,
200
+ "pull_request": {
201
+ "diff_url": null,
202
+ "html_url": null,
203
+ "patch_url": null
204
+ },
205
+ "state": "closed",
206
+ "title": "Error caused by wording_for",
207
+ "updated_at": "2012-01-21T00:09:27Z",
208
+ "url": "https://api.github.com/repos/sferik/rails_admin/issues/934",
209
+ "user": {
210
+ "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
211
+ "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
212
+ "id": 12294,
213
+ "login": "reinkcar",
214
+ "url": "https://api.github.com/users/reinkcar"
215
+ }
1166
216
  }
1167
- },
1168
- "sha": "34ac333dbdc8b1af2da24323caf04229cfa2ee67",
1169
- "ref": "master",
1170
- "user": {
1171
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
1172
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1173
- "url": "https://api.github.com/users/sferik",
1174
- "id": 10308,
1175
- "login": "sferik"
1176
- }
1177
- },
1178
- "state": "closed"
1179
- },
1180
- "action": "closed"
1181
- },
1182
- "org": {
1183
- "url": "https://api.github.com/orgs/"
1184
- },
1185
- "actor": {
1186
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1187
- "id": 26794,
1188
- "url": "https://api.github.com/users/bbenezech",
1189
- "login": "bbenezech"
1190
- },
1191
- "id": "1513095161"
1192
- },
1193
- {
1194
- "type": "IssueCommentEvent",
1195
- "public": true,
1196
- "repo": {
1197
- "id": 810796,
1198
- "name": "sferik/rails_admin",
1199
- "url": "https://api.github.com/repos/sferik/rails_admin"
1200
- },
1201
- "created_at": "2012-01-20T15:44:29Z",
1202
- "payload": {
1203
- "comment": {
1204
- "created_at": "2012-01-20T15:44:28Z",
1205
- "body": "Hi Michael,\r\n\r\nThank you very much for your time!\r\n\r\nCan you add it to the wiki instead? Translations are not included in codebase anymore, because of maintenance limitations.\r\n\r\nhttps://github.com/sferik/rails_admin/wiki/Translations\r\n\r\nThanks again!",
1206
- "updated_at": "2012-01-20T15:44:28Z",
1207
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/comments/3585405",
1208
- "id": 3585405,
1209
- "user": {
1210
- "avatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1211
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1212
- "url": "https://api.github.com/users/bbenezech",
1213
- "id": 26794,
1214
- "login": "bbenezech"
1215
- }
1216
- },
1217
- "action": "created",
1218
- "issue": {
1219
- "number": 935,
1220
- "pull_request": {
1221
- "diff_url": "https://github.com/sferik/rails_admin/pull/935.diff",
1222
- "patch_url": "https://github.com/sferik/rails_admin/pull/935.patch",
1223
- "html_url": "https://github.com/sferik/rails_admin/pull/935"
1224
- },
1225
- "created_at": "2012-01-20T14:42:02Z",
1226
- "body": "Hi.\r\n\r\nI created initial russian translation for your great app.",
1227
- "title": "Initial russian translation",
1228
- "comments": 1,
1229
- "updated_at": "2012-01-20T15:44:28Z",
1230
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/935",
1231
- "id": 2911903,
1232
- "assignee": null,
1233
- "milestone": null,
1234
- "closed_at": "2012-01-20T15:44:28Z",
1235
- "html_url": "https://github.com/sferik/rails_admin/issues/935",
1236
- "labels": [
1237
-
1238
- ],
1239
- "user": {
1240
- "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1241
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1242
- "url": "https://api.github.com/users/msamoylov",
1243
- "id": 106813,
1244
- "login": "msamoylov"
1245
- },
1246
- "state": "closed"
1247
- }
1248
- },
1249
- "org": {
1250
- "url": "https://api.github.com/orgs/"
1251
- },
1252
- "actor": {
1253
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1254
- "id": 26794,
1255
- "url": "https://api.github.com/users/bbenezech",
1256
- "login": "bbenezech"
1257
- },
1258
- "id": "1513095159"
1259
- },
1260
- {
1261
- "type": "IssueCommentEvent",
1262
- "public": true,
1263
- "repo": {
1264
- "id": 810796,
1265
- "name": "sferik/rails_admin",
1266
- "url": "https://api.github.com/repos/sferik/rails_admin"
1267
- },
1268
- "created_at": "2012-01-20T15:41:35Z",
1269
- "payload": {
1270
- "comment": {
1271
- "created_at": "2012-01-20T15:41:35Z",
1272
- "body": "Hi Carsten,\r\n\r\nAbout 1, `model_config.object_label_method` should return at least `:rails_admin_default_object_label_method` (which is mixed in `ActiveRecord::Base` at application start-up) if your model does not respond to any of the `Config.label_methods`.\r\nPlease provide a failing spec, I don't get the issue.\r\n\r\nAbout 2, wording_for should not try to use `object_label_method` of a different model anymore, it should be fixed in HEAD.\r\nCan you try and report back?",
1273
- "updated_at": "2012-01-20T15:41:35Z",
1274
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/comments/3585352",
1275
- "id": 3585352,
1276
- "user": {
1277
- "avatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1278
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1279
- "url": "https://api.github.com/users/bbenezech",
1280
- "id": 26794,
1281
- "login": "bbenezech"
1282
- }
1283
- },
1284
- "action": "created",
1285
- "issue": {
1286
- "number": 934,
1287
- "pull_request": {
1288
- "diff_url": null,
1289
- "patch_url": null,
1290
- "html_url": null
1291
- },
1292
- "created_at": "2012-01-20T14:36:57Z",
1293
- "body": "I've just upgraded to the recent commit and found the following issues which I believe seem to be caused by the following line in the wording_for helper:\r\n\r\n :object_label => model_config && object.try(model_config.object_label_method)\r\n\r\nSituation 1:\r\nI haven't defined an own object_label_method for a model and the the model has no attribute called \"name\". I such situations the above line throws an error.\r\n\r\nI've fixed this by defining an object_label_method for each model, but I'd prefer this to be caught in the helper.\r\n\r\nSituation 2:\r\nIn the _form_filtering_select and _form_filtering_multiselect views, \r\n\r\n = link_to wording_for(:link, :new, config.abstract_model) ...\r\n\r\nthrows an error when the associated_model has not an attribute of the name of the object_label_method of the @object model.\r\n\r\nI've fixed this by adding a nil object, but should be in the helper.\r\n\r\n = link_to wording_for(:link, :new, config.abstract_model, nil)",
1294
- "title": "Error caused by wording_for",
1295
- "comments": 1,
1296
- "updated_at": "2012-01-20T15:41:35Z",
1297
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/934",
1298
- "id": 2911854,
1299
- "assignee": null,
1300
- "milestone": null,
1301
- "closed_at": null,
1302
- "labels": [
1303
-
1304
- ],
1305
- "html_url": "https://github.com/sferik/rails_admin/issues/934",
1306
- "user": {
1307
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1308
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
1309
- "url": "https://api.github.com/users/reinkcar",
1310
- "id": 12294,
1311
- "login": "reinkcar"
1312
- },
1313
- "state": "open"
1314
- }
1315
- },
1316
- "org": {
1317
- "url": "https://api.github.com/orgs/"
1318
- },
1319
- "actor": {
1320
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1321
- "id": 26794,
1322
- "url": "https://api.github.com/users/bbenezech",
1323
- "login": "bbenezech"
1324
- },
1325
- "id": "1513094437"
1326
- },
1327
- {
1328
- "type": "PushEvent",
1329
- "public": true,
1330
- "repo": {
1331
- "id": 810796,
1332
- "name": "sferik/rails_admin",
1333
- "url": "https://api.github.com/repos/sferik/rails_admin"
1334
- },
1335
- "created_at": "2012-01-20T15:33:51Z",
1336
- "payload": {
1337
- "head": "5469bcc7dcc0d4f71cadea3abd7cee20a2b1220a",
1338
- "size": 1,
1339
- "push_id": 58414877,
1340
- "commits": [
1341
- {
1342
- "sha": "5469bcc7dcc0d4f71cadea3abd7cee20a2b1220a",
1343
- "author": {
1344
- "name": "Benoit Bénézech",
1345
- "email": "benoit.benezech@gmail.com"
1346
- },
1347
- "url": "https://api.github.com/repos/sferik/rails_admin/commits/5469bcc7dcc0d4f71cadea3abd7cee20a2b1220a",
1348
- "message": "added specs for actions"
1349
- }
1350
- ],
1351
- "ref": "refs/heads/master"
1352
- },
1353
- "org": {
1354
- "url": "https://api.github.com/orgs/"
1355
- },
1356
- "actor": {
1357
- "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1358
- "id": 26794,
1359
- "url": "https://api.github.com/users/bbenezech",
1360
- "login": "bbenezech"
1361
- },
1362
- "id": "1513092255"
1363
- },
1364
- {
1365
- "type": "PullRequestEvent",
1366
- "public": true,
1367
- "repo": {
1368
- "id": 810796,
1369
- "name": "sferik/rails_admin",
1370
- "url": "https://api.github.com/repos/sferik/rails_admin"
1371
- },
1372
- "created_at": "2012-01-20T14:42:03Z",
1373
- "payload": {
1374
- "number": 935,
1375
- "pull_request": {
1376
- "head": {
1377
- "label": "msamoylov:master",
1378
- "repo": {
1379
- "master_branch": null,
1380
- "name": "rails_admin",
1381
- "size": 172,
1382
- "has_wiki": true,
1383
- "created_at": "2012-01-20T14:18:02Z",
1384
- "clone_url": "https://github.com/msamoylov/rails_admin.git",
1385
- "updated_at": "2012-01-20T14:39:07Z",
1386
- "private": false,
1387
- "watchers": 1,
1388
- "url": "https://api.github.com/repos/msamoylov/rails_admin",
1389
- "ssh_url": "git@github.com:msamoylov/rails_admin.git",
1390
- "fork": true,
1391
- "language": "Ruby",
1392
- "git_url": "git://github.com/msamoylov/rails_admin.git",
1393
- "id": 3226804,
1394
- "svn_url": "https://github.com/msamoylov/rails_admin",
1395
- "pushed_at": "2012-01-20T14:39:06Z",
1396
- "has_downloads": true,
1397
- "mirror_url": null,
1398
- "open_issues": 0,
1399
- "has_issues": false,
1400
- "homepage": "",
1401
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1402
- "forks": 0,
1403
- "html_url": "https://github.com/msamoylov/rails_admin",
1404
- "owner": {
1405
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1406
- "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1407
- "url": "https://api.github.com/users/msamoylov",
1408
- "id": 106813,
1409
- "login": "msamoylov"
217
+ },
218
+ "public": true,
219
+ "repo": {
220
+ "id": 810796,
221
+ "name": "sferik/rails_admin",
222
+ "url": "https://api.github.com/repos/sferik/rails_admin"
223
+ },
224
+ "type": "IssueCommentEvent"
225
+ },
226
+ {
227
+ "actor": {
228
+ "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
229
+ "id": 12294,
230
+ "login": "reinkcar",
231
+ "url": "https://api.github.com/users/reinkcar"
232
+ },
233
+ "created_at": "2012-01-20T23:45:05Z",
234
+ "id": "1513221979",
235
+ "org": {
236
+ "url": "https://api.github.com/orgs/"
237
+ },
238
+ "payload": {
239
+ "action": "opened",
240
+ "number": 937,
241
+ "pull_request": {
242
+ "_links": {
243
+ "comments": {
244
+ "href": "https://api.github.com/repos/sferik/rails_admin/issues/937/comments"
245
+ },
246
+ "html": {
247
+ "href": "https://github.com/sferik/rails_admin/pull/937"
248
+ },
249
+ "review_comments": {
250
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/937/comments"
251
+ },
252
+ "self": {
253
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/937"
254
+ }
255
+ },
256
+ "additions": 1,
257
+ "base": {
258
+ "label": "sferik:master",
259
+ "ref": "master",
260
+ "repo": {
261
+ "clone_url": "https://github.com/sferik/rails_admin.git",
262
+ "created_at": "2010-08-01T17:01:00Z",
263
+ "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
264
+ "fork": false,
265
+ "forks": 535,
266
+ "git_url": "git://github.com/sferik/rails_admin.git",
267
+ "has_downloads": true,
268
+ "has_issues": true,
269
+ "has_wiki": true,
270
+ "homepage": "",
271
+ "html_url": "https://github.com/sferik/rails_admin",
272
+ "id": 810796,
273
+ "language": "Ruby",
274
+ "master_branch": null,
275
+ "mirror_url": null,
276
+ "name": "rails_admin",
277
+ "open_issues": 59,
278
+ "owner": {
279
+ "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
280
+ "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
281
+ "id": 10308,
282
+ "login": "sferik",
283
+ "url": "https://api.github.com/users/sferik"
284
+ },
285
+ "private": false,
286
+ "pushed_at": "2012-01-20T16:20:43Z",
287
+ "size": 420,
288
+ "ssh_url": "git@github.com:sferik/rails_admin.git",
289
+ "svn_url": "https://github.com/sferik/rails_admin",
290
+ "updated_at": "2012-01-20T16:20:43Z",
291
+ "url": "https://api.github.com/repos/sferik/rails_admin",
292
+ "watchers": 2722
293
+ },
294
+ "sha": "d381ac95b1ea1a33c3b1671ff513e91879c324c4",
295
+ "user": {
296
+ "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
297
+ "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
298
+ "id": 10308,
299
+ "login": "sferik",
300
+ "url": "https://api.github.com/users/sferik"
301
+ }
302
+ },
303
+ "body": "wording_for now checks, if object is an instance of abstract_model.model",
304
+ "changed_files": 1,
305
+ "closed_at": null,
306
+ "comments": 0,
307
+ "commits": 2,
308
+ "created_at": "2012-01-20T23:45:04Z",
309
+ "deletions": 1,
310
+ "diff_url": "https://github.com/sferik/rails_admin/pull/937.diff",
311
+ "head": {
312
+ "label": "reinkcar:master",
313
+ "ref": "master",
314
+ "repo": {
315
+ "clone_url": "https://github.com/reinkcar/rails_admin.git",
316
+ "created_at": "2011-11-08T19:48:51Z",
317
+ "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
318
+ "fork": true,
319
+ "forks": 0,
320
+ "git_url": "git://github.com/reinkcar/rails_admin.git",
321
+ "has_downloads": true,
322
+ "has_issues": false,
323
+ "has_wiki": true,
324
+ "homepage": "",
325
+ "html_url": "https://github.com/reinkcar/rails_admin",
326
+ "id": 2736456,
327
+ "language": "Ruby",
328
+ "master_branch": null,
329
+ "mirror_url": null,
330
+ "name": "rails_admin",
331
+ "open_issues": 0,
332
+ "owner": {
333
+ "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
334
+ "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
335
+ "id": 12294,
336
+ "login": "reinkcar",
337
+ "url": "https://api.github.com/users/reinkcar"
338
+ },
339
+ "private": false,
340
+ "pushed_at": "2012-01-20T23:38:03Z",
341
+ "size": 2712,
342
+ "ssh_url": "git@github.com:reinkcar/rails_admin.git",
343
+ "svn_url": "https://github.com/reinkcar/rails_admin",
344
+ "updated_at": "2012-01-20T23:38:03Z",
345
+ "url": "https://api.github.com/repos/reinkcar/rails_admin",
346
+ "watchers": 1
347
+ },
348
+ "sha": "de3cadb81c34ce9ec4f0ce69a0a8742eb87039d5",
349
+ "user": {
350
+ "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
351
+ "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
352
+ "id": 12294,
353
+ "login": "reinkcar",
354
+ "url": "https://api.github.com/users/reinkcar"
355
+ }
356
+ },
357
+ "html_url": "https://github.com/sferik/rails_admin/pull/937",
358
+ "id": 718281,
359
+ "issue_url": "https://github.com/sferik/rails_admin/issues/937",
360
+ "mergeable": null,
361
+ "merged": false,
362
+ "merged_at": null,
363
+ "merged_by": null,
364
+ "number": 937,
365
+ "patch_url": "https://github.com/sferik/rails_admin/pull/937.patch",
366
+ "review_comments": 0,
367
+ "state": "open",
368
+ "title": "Fix for Issue #934 / Bug in wording_for",
369
+ "updated_at": "2012-01-20T23:45:04Z",
370
+ "url": "https://api.github.com/repos/sferik/rails_admin/pulls/937",
371
+ "user": {
372
+ "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
373
+ "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
374
+ "id": 12294,
375
+ "login": "reinkcar",
376
+ "url": "https://api.github.com/users/reinkcar"
377
+ }
1410
378
  }
1411
- },
1412
- "sha": "955e420f390175c2467621857d242a53baf7e10e",
1413
- "ref": "master",
1414
- "user": {
1415
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1416
- "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1417
- "url": "https://api.github.com/users/msamoylov",
1418
- "id": 106813,
1419
- "login": "msamoylov"
1420
- }
1421
- },
1422
- "issue_url": "https://github.com/sferik/rails_admin/issues/935",
1423
- "number": 935,
1424
- "merged_by": null,
1425
- "merged": false,
1426
- "changed_files": 1,
1427
- "created_at": "2012-01-20T14:42:02Z",
1428
- "body": "Hi.\r\n\r\nI created initial russian translation for your great app.",
1429
- "title": "Initial russian translation",
1430
- "comments": 0,
1431
- "updated_at": "2012-01-20T14:42:02Z",
1432
- "additions": 129,
1433
- "diff_url": "https://github.com/sferik/rails_admin/pull/935.diff",
1434
- "_links": {
1435
- "html": {
1436
- "href": "https://github.com/sferik/rails_admin/pull/935"
1437
- },
1438
- "self": {
1439
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/935"
1440
- },
1441
- "comments": {
1442
- "href": "https://api.github.com/repos/sferik/rails_admin/issues/935/comments"
1443
- },
1444
- "review_comments": {
1445
- "href": "https://api.github.com/repos/sferik/rails_admin/pulls/935/comments"
1446
- }
1447
- },
1448
- "url": "https://api.github.com/repos/sferik/rails_admin/pulls/935",
1449
- "id": 715511,
1450
- "patch_url": "https://github.com/sferik/rails_admin/pull/935.patch",
1451
- "mergeable": null,
1452
- "closed_at": null,
1453
- "commits": 1,
1454
- "merged_at": null,
1455
- "review_comments": 0,
1456
- "html_url": "https://github.com/sferik/rails_admin/pull/935",
1457
- "user": {
1458
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1459
- "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1460
- "url": "https://api.github.com/users/msamoylov",
1461
- "id": 106813,
1462
- "login": "msamoylov"
1463
- },
1464
- "deletions": 0,
1465
- "base": {
1466
- "label": "sferik:master",
1467
- "repo": {
1468
- "master_branch": null,
1469
- "name": "rails_admin",
1470
- "size": 432,
1471
- "has_wiki": true,
1472
- "created_at": "2010-08-01T17:01:00Z",
1473
- "clone_url": "https://github.com/sferik/rails_admin.git",
1474
- "updated_at": "2012-01-20T14:30:30Z",
1475
- "private": false,
1476
- "watchers": 2724,
1477
- "url": "https://api.github.com/repos/sferik/rails_admin",
1478
- "ssh_url": "git@github.com:sferik/rails_admin.git",
1479
- "fork": false,
1480
- "language": "Ruby",
1481
- "git_url": "git://github.com/sferik/rails_admin.git",
1482
- "id": 810796,
1483
- "svn_url": "https://github.com/sferik/rails_admin",
1484
- "pushed_at": "2012-01-19T15:39:58Z",
1485
- "has_downloads": true,
1486
- "mirror_url": null,
1487
- "open_issues": 58,
1488
- "has_issues": true,
1489
- "homepage": "",
1490
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1491
- "forks": 535,
1492
- "html_url": "https://github.com/sferik/rails_admin",
1493
- "owner": {
1494
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
1495
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1496
- "url": "https://api.github.com/users/sferik",
1497
- "id": 10308,
1498
- "login": "sferik"
379
+ },
380
+ "public": true,
381
+ "repo": {
382
+ "id": 810796,
383
+ "name": "sferik/rails_admin",
384
+ "url": "https://api.github.com/repos/sferik/rails_admin"
385
+ },
386
+ "type": "PullRequestEvent"
387
+ },
388
+ {
389
+ "actor": {
390
+ "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
391
+ "id": 10308,
392
+ "login": "sferik",
393
+ "url": "https://api.github.com/users/sferik"
394
+ },
395
+ "created_at": "2012-01-20T21:46:45Z",
396
+ "id": "1513194035",
397
+ "org": {
398
+ "url": "https://api.github.com/orgs/"
399
+ },
400
+ "payload": {
401
+ "comment": {
402
+ "body": "Okay, now that you've explained it, it makes sense, but big decisions like this need to be brought up for discussion before they're made.",
403
+ "commit_id": "135a4693fa231dd0fa0438a20bf4835be75f2772",
404
+ "created_at": "2012-01-20T21:46:45Z",
405
+ "html_url": "https://github.com/sferik/rails_admin/commit/135a4693fa#commitcomment-887427",
406
+ "id": 887427,
407
+ "line": null,
408
+ "path": null,
409
+ "position": null,
410
+ "updated_at": "2012-01-20T21:46:45Z",
411
+ "url": "https://api.github.com/repos/sferik/rails_admin/comments/887427",
412
+ "user": {
413
+ "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
414
+ "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
415
+ "id": 10308,
416
+ "login": "sferik",
417
+ "url": "https://api.github.com/users/sferik"
418
+ }
1499
419
  }
1500
- },
1501
- "sha": "34ac333dbdc8b1af2da24323caf04229cfa2ee67",
1502
- "ref": "master",
1503
- "user": {
1504
- "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
1505
- "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1506
- "url": "https://api.github.com/users/sferik",
1507
- "id": 10308,
1508
- "login": "sferik"
1509
- }
1510
- },
1511
- "state": "open"
1512
- },
1513
- "action": "opened"
1514
- },
1515
- "org": {
1516
- "url": "https://api.github.com/orgs/"
1517
- },
1518
- "actor": {
1519
- "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1520
- "id": 106813,
1521
- "url": "https://api.github.com/users/msamoylov",
1522
- "login": "msamoylov"
1523
- },
1524
- "id": "1513079075"
1525
- },
1526
- {
1527
- "type": "IssuesEvent",
1528
- "public": true,
1529
- "repo": {
1530
- "id": 810796,
1531
- "name": "sferik/rails_admin",
1532
- "url": "https://api.github.com/repos/sferik/rails_admin"
1533
- },
1534
- "created_at": "2012-01-20T14:37:00Z",
1535
- "payload": {
1536
- "action": "opened",
1537
- "issue": {
1538
- "number": 934,
1539
- "pull_request": {
1540
- "diff_url": null,
1541
- "patch_url": null,
1542
- "html_url": null
1543
- },
1544
- "created_at": "2012-01-20T14:36:57Z",
1545
- "body": "I've just upgraded to the recent commit and found the following issues which I believe seem to be caused by the following line in the wording_for helper:\r\n\r\n :object_label => model_config && object.try(model_config.object_label_method)\r\n\r\nSituation 1:\r\nI haven't defined an own object_label_method for a model and the the model has no attribute called \"name\". I such situations the above line throws an error.\r\n\r\nI've fixed this by defining an object_label_method for each model, but I'd prefer this to be caught in the helper.\r\n\r\nSituation 2:\r\nIn the _form_filtering_select and _form_filtering_multiselect views, \r\n\r\n = link_to wording_for(:link, :new, config.abstract_model) ...\r\n\r\nthrows an error when the associated_model has not an attribute of the name of the object_label_method of the @object model.\r\n\r\nI've fixed this by adding a nil object, but should be in the helper.\r\n\r\n = link_to wording_for(:link, :new, config.abstract_model, nil)",
1546
- "title": "Error caused by wording_for",
1547
- "comments": 0,
1548
- "updated_at": "2012-01-20T14:36:57Z",
1549
- "url": "https://api.github.com/repos/sferik/rails_admin/issues/934",
1550
- "id": 2911854,
1551
- "assignee": null,
1552
- "milestone": null,
1553
- "closed_at": null,
1554
- "labels": [
1555
-
1556
- ],
1557
- "html_url": "https://github.com/sferik/rails_admin/issues/934",
1558
- "user": {
1559
- "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1560
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
1561
- "url": "https://api.github.com/users/reinkcar",
1562
- "id": 12294,
1563
- "login": "reinkcar"
1564
- },
1565
- "state": "open"
1566
- }
1567
- },
1568
- "org": {
1569
- "url": "https://api.github.com/orgs/"
1570
- },
1571
- "actor": {
1572
- "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
1573
- "id": 12294,
1574
- "url": "https://api.github.com/users/reinkcar",
1575
- "login": "reinkcar"
1576
- },
1577
- "id": "1513077908"
1578
- },
1579
- {
1580
- "type": "GollumEvent",
1581
- "public": true,
1582
- "repo": {
1583
- "id": 810796,
1584
- "name": "sferik/rails_admin",
1585
- "url": "https://api.github.com/repos/sferik/rails_admin"
1586
- },
1587
- "created_at": "2012-01-20T14:34:00Z",
1588
- "payload": {
1589
- "pages": [
1590
- {
1591
- "sha": "c047cdaaa86de93d2f43d17c6ab2de274eacca9b",
1592
- "title": "Translations",
1593
- "action": "edited",
1594
- "page_name": "Translations",
1595
- "summary": null,
1596
- "html_url": "https://github.com/sferik/rails_admin/wiki/Translations"
1597
- }
1598
- ]
1599
- },
1600
- "org": {
1601
- "url": "https://api.github.com/orgs/"
1602
- },
1603
- "actor": {
1604
- "gravatar_id": "3d889804514d950384b9ab4cd4a73a23",
1605
- "id": 26083,
1606
- "url": "https://api.github.com/users/Knack",
1607
- "login": "Knack"
1608
- },
1609
- "id": "1513077210"
1610
- },
1611
- {
1612
- "type": "ForkEvent",
1613
- "public": true,
1614
- "repo": {
1615
- "id": 810796,
1616
- "name": "sferik/rails_admin",
1617
- "url": "https://api.github.com/repos/sferik/rails_admin"
1618
- },
1619
- "created_at": "2012-01-20T14:30:31Z",
1620
- "payload": {
1621
- "forkee": {
1622
- "name": "rails_admin",
1623
- "master_branch": null,
1624
- "size": 432,
1625
- "has_wiki": true,
1626
- "created_at": "2012-01-20T14:30:30Z",
1627
- "clone_url": "https://github.com/bowmande/rails_admin.git",
1628
- "public": true,
1629
- "updated_at": "2012-01-20T14:30:30Z",
1630
- "private": false,
1631
- "watchers": 1,
1632
- "url": "https://api.github.com/repos/bowmande/rails_admin",
1633
- "language": "Ruby",
1634
- "fork": true,
1635
- "git_url": "git://github.com/bowmande/rails_admin.git",
1636
- "ssh_url": "git@github.com:bowmande/rails_admin.git",
1637
- "id": 3226882,
1638
- "svn_url": "https://github.com/bowmande/rails_admin",
1639
- "pushed_at": "2012-01-19T15:39:58Z",
1640
- "has_downloads": true,
1641
- "mirror_url": null,
1642
- "open_issues": 0,
1643
- "has_issues": false,
1644
- "homepage": "",
1645
- "forks": 0,
1646
- "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1647
- "html_url": "https://github.com/bowmande/rails_admin",
1648
- "owner": {
1649
- "gravatar_id": "cd34bec6e1d5c13962d370a28ea73208",
1650
- "avatar_url": "https://secure.gravatar.com/avatar/cd34bec6e1d5c13962d370a28ea73208?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1651
- "url": "https://api.github.com/users/bowmande",
1652
- "id": 404647,
1653
- "login": "bowmande"
1654
- }
1655
- }
1656
- },
1657
- "org": {
1658
- "url": "https://api.github.com/orgs/"
1659
- },
1660
- "actor": {
1661
- "gravatar_id": "cd34bec6e1d5c13962d370a28ea73208",
1662
- "id": 404647,
1663
- "url": "https://api.github.com/users/bowmande",
1664
- "login": "bowmande"
1665
- },
1666
- "id": "1513076383"
1667
- }
420
+ },
421
+ "public": true,
422
+ "repo": {
423
+ "id": 810796,
424
+ "name": "sferik/rails_admin",
425
+ "url": "https://api.github.com/repos/sferik/rails_admin"
426
+ },
427
+ "type": "CommitCommentEvent"
428
+ },
429
+ {
430
+ "actor": {
431
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
432
+ "id": 26794,
433
+ "login": "bbenezech",
434
+ "url": "https://api.github.com/users/bbenezech"
435
+ },
436
+ "created_at": "2012-01-20T21:41:48Z",
437
+ "id": "1513192790",
438
+ "org": {
439
+ "url": "https://api.github.com/orgs/"
440
+ },
441
+ "payload": {
442
+ "action": "created",
443
+ "comment": {
444
+ "body": "Sucks! We need some integration testing with JS to tackle this kind of regressions..\r\nCan you test on the dummy app to see if it's specific to your app? I'm not on my workstation atm.",
445
+ "created_at": "2012-01-20T21:41:48Z",
446
+ "id": 3591063,
447
+ "updated_at": "2012-01-20T21:41:48Z",
448
+ "url": "https://api.github.com/repos/sferik/rails_admin/issues/comments/3591063",
449
+ "user": {
450
+ "avatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
451
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
452
+ "id": 26794,
453
+ "login": "bbenezech",
454
+ "url": "https://api.github.com/users/bbenezech"
455
+ }
456
+ },
457
+ "issue": {
458
+ "assignee": null,
459
+ "body": "My remote form modals for both belong_to and has_many through association are no longer working for me. Let's say I'm editing a Post in my system which has_many tags through taggings (polymorphic on the taggable). When I click \"add tag\" it takes me into editing the current post in modal form. Not creating a new tag! When I double click on an existing tag, however, it let's me edit it.\r\n\r\nNow let's say I edit something with a belongs_to relationship. I can neither add a new nor edit the existing association in the dropdown or it takes me to editing the current selected object in the model.\r\n\r\nWha's weirder is when I close out the model, I get some weird html bugs where it will clone the association boxes on the page and break them.\r\n\r\nThis happens for me in all 3 web browsers. Chrome, Firefox, and Safari.\r\n\r\nI've tried clearing out everything in my rails_admin initializer so it just uses the model definitions. Still not working.\r\n\r\nLet me know what you need from me to help debug more.\r\n\r\n",
460
+ "closed_at": null,
461
+ "comments": 1,
462
+ "created_at": "2012-01-20T20:57:00Z",
463
+ "html_url": "https://github.com/sferik/rails_admin/issues/936",
464
+ "id": 2916704,
465
+ "labels": [],
466
+ "milestone": null,
467
+ "number": 936,
468
+ "pull_request": {
469
+ "diff_url": null,
470
+ "html_url": null,
471
+ "patch_url": null
472
+ },
473
+ "state": "open",
474
+ "title": "Remote Form Modals on \"Create\" no longer working",
475
+ "updated_at": "2012-01-20T21:41:48Z",
476
+ "url": "https://api.github.com/repos/sferik/rails_admin/issues/936",
477
+ "user": {
478
+ "avatar_url": "https://secure.gravatar.com/avatar/52fbfdf72bf76e14d1961931849b8bbf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
479
+ "gravatar_id": "52fbfdf72bf76e14d1961931849b8bbf",
480
+ "id": 852746,
481
+ "login": "mediavine",
482
+ "url": "https://api.github.com/users/mediavine"
483
+ }
484
+ }
485
+ },
486
+ "public": true,
487
+ "repo": {
488
+ "id": 810796,
489
+ "name": "sferik/rails_admin",
490
+ "url": "https://api.github.com/repos/sferik/rails_admin"
491
+ },
492
+ "type": "IssueCommentEvent"
493
+ },
494
+ {
495
+ "actor": {
496
+ "gravatar_id": "52fbfdf72bf76e14d1961931849b8bbf",
497
+ "id": 852746,
498
+ "login": "mediavine",
499
+ "url": "https://api.github.com/users/mediavine"
500
+ },
501
+ "created_at": "2012-01-20T20:57:00Z",
502
+ "id": "1513176989",
503
+ "org": {
504
+ "url": "https://api.github.com/orgs/"
505
+ },
506
+ "payload": {
507
+ "action": "opened",
508
+ "issue": {
509
+ "assignee": null,
510
+ "body": "My remote form modals for both belong_to and has_many through association are no longer working for me. Let's say I'm editing a Post in my system which has_many tags through taggings (polymorphic on the taggable). When I click \"add tag\" it takes me into editing the current post in modal form. Not creating a new tag! When I double click on an existing tag, however, it let's me edit it.\r\n\r\nNow let's say I edit something with a belongs_to relationship. I can neither add a new nor edit the existing association in the dropdown or it takes me to editing the current selected object in the model.\r\n\r\nWha's weirder is when I close out the model, I get some weird html bugs where it will clone the association boxes on the page and break them.\r\n\r\nThis happens for me in all 3 web browsers. Chrome, Firefox, and Safari.\r\n\r\nI've tried clearing out everything in my rails_admin initializer so it just uses the model definitions. Still not working.\r\n\r\nLet me know what you need from me to help debug more.\r\n\r\n",
511
+ "closed_at": null,
512
+ "comments": 0,
513
+ "created_at": "2012-01-20T20:57:00Z",
514
+ "html_url": "https://github.com/sferik/rails_admin/issues/936",
515
+ "id": 2916704,
516
+ "labels": [],
517
+ "milestone": null,
518
+ "number": 936,
519
+ "pull_request": {
520
+ "diff_url": null,
521
+ "html_url": null,
522
+ "patch_url": null
523
+ },
524
+ "state": "open",
525
+ "title": "Remote Form Modals on \"Create\" no longer working",
526
+ "updated_at": "2012-01-20T20:57:00Z",
527
+ "url": "https://api.github.com/repos/sferik/rails_admin/issues/936",
528
+ "user": {
529
+ "avatar_url": "https://secure.gravatar.com/avatar/52fbfdf72bf76e14d1961931849b8bbf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
530
+ "gravatar_id": "52fbfdf72bf76e14d1961931849b8bbf",
531
+ "id": 852746,
532
+ "login": "mediavine",
533
+ "url": "https://api.github.com/users/mediavine"
534
+ }
535
+ }
536
+ },
537
+ "public": true,
538
+ "repo": {
539
+ "id": 810796,
540
+ "name": "sferik/rails_admin",
541
+ "url": "https://api.github.com/repos/sferik/rails_admin"
542
+ },
543
+ "type": "IssuesEvent"
544
+ },
545
+ {
546
+ "actor": {
547
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
548
+ "id": 26794,
549
+ "login": "bbenezech",
550
+ "url": "https://api.github.com/users/bbenezech"
551
+ },
552
+ "created_at": "2012-01-20T20:34:46Z",
553
+ "id": "1513171403",
554
+ "org": {
555
+ "url": "https://api.github.com/orgs/"
556
+ },
557
+ "payload": {
558
+ "comment": {
559
+ "body": "Devise translations don't belong here, it's plain old duplication. Lot of them are totally outdated.\r\n\r\nAbout the rest, wasn't much I could do.\r\nBecause of the refact., 80% keys changed. Couldn't just leave that mess, or just reset all translations with english. It was the right time to move it to the wiki.\r\n\r\nLoud thinking:\r\n\r\n* I18n adds a lot of overhead (adding keys in 20 files, noise when searching/refactoring, pull requests)\r\n* RailsAdmin is maturing, we can't leave unmaintained code inside, it gives a wrong message about the quality of the software. And we can't maintain 20 languages we don't know or just rely on PR that we can't review\r\n* It's too awkward to officially support some translation in the codebase and not another. Now, officially supported is neutral English, copy and translate it to your needs, go wiki for example in your language, share&maintain your own if you like\r\n* Since actions are dynamic, any custom code or plugin will add it's own keys, there is no such thing as 'the right translation'\r\n* I18n is not only translation, it is also configuration, do your own cooking\r\n",
560
+ "commit_id": "135a4693fa231dd0fa0438a20bf4835be75f2772",
561
+ "created_at": "2012-01-20T20:34:46Z",
562
+ "html_url": "https://github.com/sferik/rails_admin/commit/135a4693fa#commitcomment-887240",
563
+ "id": 887240,
564
+ "line": null,
565
+ "path": null,
566
+ "position": null,
567
+ "updated_at": "2012-01-20T20:34:46Z",
568
+ "url": "https://api.github.com/repos/sferik/rails_admin/comments/887240",
569
+ "user": {
570
+ "avatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
571
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
572
+ "id": 26794,
573
+ "login": "bbenezech",
574
+ "url": "https://api.github.com/users/bbenezech"
575
+ }
576
+ }
577
+ },
578
+ "public": true,
579
+ "repo": {
580
+ "id": 810796,
581
+ "name": "sferik/rails_admin",
582
+ "url": "https://api.github.com/repos/sferik/rails_admin"
583
+ },
584
+ "type": "CommitCommentEvent"
585
+ },
586
+ {
587
+ "actor": {
588
+ "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
589
+ "id": 10308,
590
+ "login": "sferik",
591
+ "url": "https://api.github.com/users/sferik"
592
+ },
593
+ "created_at": "2012-01-20T16:47:14Z",
594
+ "id": "1513112467",
595
+ "org": {
596
+ "url": "https://api.github.com/orgs/"
597
+ },
598
+ "payload": {
599
+ "comment": {
600
+ "body": "I'm just seeing this commit now. Was this really the best solution to the problem. Why are translations in the wiki better than translations in the codebase? If you think it's too much of a maintenance burden, then we should just add more maintainers who are responsible just for maintaining translations.\r\n\r\nIf general, I'd prefer you if you brought issues like this up for discussion before committing them to master. This commit breaks the app for a large number of our international users. :(",
601
+ "commit_id": "135a4693fa231dd0fa0438a20bf4835be75f2772",
602
+ "created_at": "2012-01-20T16:47:14Z",
603
+ "html_url": "https://github.com/sferik/rails_admin/commit/135a4693fa#commitcomment-886554",
604
+ "id": 886554,
605
+ "line": null,
606
+ "path": null,
607
+ "position": null,
608
+ "updated_at": "2012-01-20T16:47:14Z",
609
+ "url": "https://api.github.com/repos/sferik/rails_admin/comments/886554",
610
+ "user": {
611
+ "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
612
+ "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
613
+ "id": 10308,
614
+ "login": "sferik",
615
+ "url": "https://api.github.com/users/sferik"
616
+ }
617
+ }
618
+ },
619
+ "public": true,
620
+ "repo": {
621
+ "id": 810796,
622
+ "name": "sferik/rails_admin",
623
+ "url": "https://api.github.com/repos/sferik/rails_admin"
624
+ },
625
+ "type": "CommitCommentEvent"
626
+ },
627
+ {
628
+ "actor": {
629
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
630
+ "id": 26794,
631
+ "login": "bbenezech",
632
+ "url": "https://api.github.com/users/bbenezech"
633
+ },
634
+ "created_at": "2012-01-20T16:20:46Z",
635
+ "id": "1513105167",
636
+ "org": {
637
+ "url": "https://api.github.com/orgs/"
638
+ },
639
+ "payload": {
640
+ "commits": [
641
+ {
642
+ "author": {
643
+ "email": "benoit.benezech@gmail.com",
644
+ "name": "Benoit B\u00e9n\u00e9zech"
645
+ },
646
+ "message": "Update README.md",
647
+ "sha": "d381ac95b1ea1a33c3b1671ff513e91879c324c4",
648
+ "url": "https://api.github.com/repos/sferik/rails_admin/commits/d381ac95b1ea1a33c3b1671ff513e91879c324c4"
649
+ }
650
+ ],
651
+ "head": "d381ac95b1ea1a33c3b1671ff513e91879c324c4",
652
+ "push_id": 58423090,
653
+ "ref": "refs/heads/master",
654
+ "size": 1
655
+ },
656
+ "public": true,
657
+ "repo": {
658
+ "id": 810796,
659
+ "name": "sferik/rails_admin",
660
+ "url": "https://api.github.com/repos/sferik/rails_admin"
661
+ },
662
+ "type": "PushEvent"
663
+ },
664
+ {
665
+ "actor": {
666
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
667
+ "id": 26794,
668
+ "login": "bbenezech",
669
+ "url": "https://api.github.com/users/bbenezech"
670
+ },
671
+ "created_at": "2012-01-20T16:19:05Z",
672
+ "id": "1513104683",
673
+ "org": {
674
+ "url": "https://api.github.com/orgs/"
675
+ },
676
+ "payload": {
677
+ "commits": [
678
+ {
679
+ "author": {
680
+ "email": "benoit.benezech@gmail.com",
681
+ "name": "Benoit B\u00e9n\u00e9zech"
682
+ },
683
+ "message": "test is not necessary anymore (visible not checked if bindings are absents)",
684
+ "sha": "7d175815851bcc1f2e700f27d6a9d81bb4d9163d",
685
+ "url": "https://api.github.com/repos/sferik/rails_admin/commits/7d175815851bcc1f2e700f27d6a9d81bb4d9163d"
686
+ }
687
+ ],
688
+ "head": "7d175815851bcc1f2e700f27d6a9d81bb4d9163d",
689
+ "push_id": 58422798,
690
+ "ref": "refs/heads/master",
691
+ "size": 1
692
+ },
693
+ "public": true,
694
+ "repo": {
695
+ "id": 810796,
696
+ "name": "sferik/rails_admin",
697
+ "url": "https://api.github.com/repos/sferik/rails_admin"
698
+ },
699
+ "type": "PushEvent"
700
+ },
701
+ {
702
+ "actor": {
703
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
704
+ "id": 26794,
705
+ "login": "bbenezech",
706
+ "url": "https://api.github.com/users/bbenezech"
707
+ },
708
+ "created_at": "2012-01-20T16:17:46Z",
709
+ "id": "1513104297",
710
+ "org": {
711
+ "url": "https://api.github.com/orgs/"
712
+ },
713
+ "payload": {
714
+ "pages": [
715
+ {
716
+ "action": "edited",
717
+ "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
718
+ "page_name": "Actions",
719
+ "sha": "3cb2f0b02d0b00c12fd24af7add2608d5b0d6c0f",
720
+ "summary": null,
721
+ "title": "Actions"
722
+ }
723
+ ]
724
+ },
725
+ "public": true,
726
+ "repo": {
727
+ "id": 810796,
728
+ "name": "sferik/rails_admin",
729
+ "url": "https://api.github.com/repos/sferik/rails_admin"
730
+ },
731
+ "type": "GollumEvent"
732
+ },
733
+ {
734
+ "actor": {
735
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
736
+ "id": 26794,
737
+ "login": "bbenezech",
738
+ "url": "https://api.github.com/users/bbenezech"
739
+ },
740
+ "created_at": "2012-01-20T16:16:50Z",
741
+ "id": "1513104045",
742
+ "org": {
743
+ "url": "https://api.github.com/orgs/"
744
+ },
745
+ "payload": {
746
+ "pages": [
747
+ {
748
+ "action": "edited",
749
+ "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
750
+ "page_name": "Actions",
751
+ "sha": "9267814055198113f937127bb71874f3f93713bb",
752
+ "summary": null,
753
+ "title": "Actions"
754
+ }
755
+ ]
756
+ },
757
+ "public": true,
758
+ "repo": {
759
+ "id": 810796,
760
+ "name": "sferik/rails_admin",
761
+ "url": "https://api.github.com/repos/sferik/rails_admin"
762
+ },
763
+ "type": "GollumEvent"
764
+ },
765
+ {
766
+ "actor": {
767
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
768
+ "id": 26794,
769
+ "login": "bbenezech",
770
+ "url": "https://api.github.com/users/bbenezech"
771
+ },
772
+ "created_at": "2012-01-20T16:15:40Z",
773
+ "id": "1513103710",
774
+ "org": {
775
+ "url": "https://api.github.com/orgs/"
776
+ },
777
+ "payload": {
778
+ "pages": [
779
+ {
780
+ "action": "edited",
781
+ "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
782
+ "page_name": "Actions",
783
+ "sha": "3c4a708fd2c3ec8b646d5b1915f59d8b3819ff73",
784
+ "summary": null,
785
+ "title": "Actions"
786
+ }
787
+ ]
788
+ },
789
+ "public": true,
790
+ "repo": {
791
+ "id": 810796,
792
+ "name": "sferik/rails_admin",
793
+ "url": "https://api.github.com/repos/sferik/rails_admin"
794
+ },
795
+ "type": "GollumEvent"
796
+ },
797
+ {
798
+ "actor": {
799
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
800
+ "id": 26794,
801
+ "login": "bbenezech",
802
+ "url": "https://api.github.com/users/bbenezech"
803
+ },
804
+ "created_at": "2012-01-20T16:15:12Z",
805
+ "id": "1513103575",
806
+ "org": {
807
+ "url": "https://api.github.com/orgs/"
808
+ },
809
+ "payload": {
810
+ "pages": [
811
+ {
812
+ "action": "edited",
813
+ "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
814
+ "page_name": "Actions",
815
+ "sha": "fc7985ea8bc2033ddadfbc51b97d8d84830f5170",
816
+ "summary": null,
817
+ "title": "Actions"
818
+ }
819
+ ]
820
+ },
821
+ "public": true,
822
+ "repo": {
823
+ "id": 810796,
824
+ "name": "sferik/rails_admin",
825
+ "url": "https://api.github.com/repos/sferik/rails_admin"
826
+ },
827
+ "type": "GollumEvent"
828
+ },
829
+ {
830
+ "actor": {
831
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
832
+ "id": 26794,
833
+ "login": "bbenezech",
834
+ "url": "https://api.github.com/users/bbenezech"
835
+ },
836
+ "created_at": "2012-01-20T16:14:20Z",
837
+ "id": "1513103328",
838
+ "org": {
839
+ "url": "https://api.github.com/orgs/"
840
+ },
841
+ "payload": {
842
+ "pages": [
843
+ {
844
+ "action": "edited",
845
+ "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
846
+ "page_name": "Actions",
847
+ "sha": "4f8779696a3a794f4a0ebdd615f51f8437453882",
848
+ "summary": null,
849
+ "title": "Actions"
850
+ }
851
+ ]
852
+ },
853
+ "public": true,
854
+ "repo": {
855
+ "id": 810796,
856
+ "name": "sferik/rails_admin",
857
+ "url": "https://api.github.com/repos/sferik/rails_admin"
858
+ },
859
+ "type": "GollumEvent"
860
+ },
861
+ {
862
+ "actor": {
863
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
864
+ "id": 26794,
865
+ "login": "bbenezech",
866
+ "url": "https://api.github.com/users/bbenezech"
867
+ },
868
+ "created_at": "2012-01-20T16:13:39Z",
869
+ "id": "1513103119",
870
+ "org": {
871
+ "url": "https://api.github.com/orgs/"
872
+ },
873
+ "payload": {
874
+ "pages": [
875
+ {
876
+ "action": "edited",
877
+ "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
878
+ "page_name": "Actions",
879
+ "sha": "fe36f71b19845fe10f389dc784bb8ea1328bc2c4",
880
+ "summary": null,
881
+ "title": "Actions"
882
+ }
883
+ ]
884
+ },
885
+ "public": true,
886
+ "repo": {
887
+ "id": 810796,
888
+ "name": "sferik/rails_admin",
889
+ "url": "https://api.github.com/repos/sferik/rails_admin"
890
+ },
891
+ "type": "GollumEvent"
892
+ },
893
+ {
894
+ "actor": {
895
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
896
+ "id": 26794,
897
+ "login": "bbenezech",
898
+ "url": "https://api.github.com/users/bbenezech"
899
+ },
900
+ "created_at": "2012-01-20T16:12:27Z",
901
+ "id": "1513102773",
902
+ "org": {
903
+ "url": "https://api.github.com/orgs/"
904
+ },
905
+ "payload": {
906
+ "pages": [
907
+ {
908
+ "action": "edited",
909
+ "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
910
+ "page_name": "Actions",
911
+ "sha": "91361f5733f617b59ea290d8780bdd0fec404a4d",
912
+ "summary": null,
913
+ "title": "Actions"
914
+ }
915
+ ]
916
+ },
917
+ "public": true,
918
+ "repo": {
919
+ "id": 810796,
920
+ "name": "sferik/rails_admin",
921
+ "url": "https://api.github.com/repos/sferik/rails_admin"
922
+ },
923
+ "type": "GollumEvent"
924
+ },
925
+ {
926
+ "actor": {
927
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
928
+ "id": 26794,
929
+ "login": "bbenezech",
930
+ "url": "https://api.github.com/users/bbenezech"
931
+ },
932
+ "created_at": "2012-01-20T16:12:17Z",
933
+ "id": "1513102731",
934
+ "org": {
935
+ "url": "https://api.github.com/orgs/"
936
+ },
937
+ "payload": {
938
+ "pages": [
939
+ {
940
+ "action": "edited",
941
+ "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
942
+ "page_name": "Actions",
943
+ "sha": "4be985fd23cbd0e34335f0a41962cbd4f68bcbd3",
944
+ "summary": null,
945
+ "title": "Actions"
946
+ }
947
+ ]
948
+ },
949
+ "public": true,
950
+ "repo": {
951
+ "id": 810796,
952
+ "name": "sferik/rails_admin",
953
+ "url": "https://api.github.com/repos/sferik/rails_admin"
954
+ },
955
+ "type": "GollumEvent"
956
+ },
957
+ {
958
+ "actor": {
959
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
960
+ "id": 26794,
961
+ "login": "bbenezech",
962
+ "url": "https://api.github.com/users/bbenezech"
963
+ },
964
+ "created_at": "2012-01-20T16:11:54Z",
965
+ "id": "1513102628",
966
+ "org": {
967
+ "url": "https://api.github.com/orgs/"
968
+ },
969
+ "payload": {
970
+ "pages": [
971
+ {
972
+ "action": "edited",
973
+ "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
974
+ "page_name": "Actions",
975
+ "sha": "ae7bf058a4cb983f4fa9d5ebdfb6ebdf4221cfe6",
976
+ "summary": null,
977
+ "title": "Actions"
978
+ }
979
+ ]
980
+ },
981
+ "public": true,
982
+ "repo": {
983
+ "id": 810796,
984
+ "name": "sferik/rails_admin",
985
+ "url": "https://api.github.com/repos/sferik/rails_admin"
986
+ },
987
+ "type": "GollumEvent"
988
+ },
989
+ {
990
+ "actor": {
991
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
992
+ "id": 26794,
993
+ "login": "bbenezech",
994
+ "url": "https://api.github.com/users/bbenezech"
995
+ },
996
+ "created_at": "2012-01-20T16:11:36Z",
997
+ "id": "1513102556",
998
+ "org": {
999
+ "url": "https://api.github.com/orgs/"
1000
+ },
1001
+ "payload": {
1002
+ "pages": [
1003
+ {
1004
+ "action": "edited",
1005
+ "html_url": "https://github.com/sferik/rails_admin/wiki/Actions",
1006
+ "page_name": "Actions",
1007
+ "sha": "f19b36b09a0da4887cc625572e06c5bc595e2536",
1008
+ "summary": null,
1009
+ "title": "Actions"
1010
+ }
1011
+ ]
1012
+ },
1013
+ "public": true,
1014
+ "repo": {
1015
+ "id": 810796,
1016
+ "name": "sferik/rails_admin",
1017
+ "url": "https://api.github.com/repos/sferik/rails_admin"
1018
+ },
1019
+ "type": "GollumEvent"
1020
+ },
1021
+ {
1022
+ "actor": {
1023
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1024
+ "id": 26794,
1025
+ "login": "bbenezech",
1026
+ "url": "https://api.github.com/users/bbenezech"
1027
+ },
1028
+ "created_at": "2012-01-20T15:44:29Z",
1029
+ "id": "1513095161",
1030
+ "org": {
1031
+ "url": "https://api.github.com/orgs/"
1032
+ },
1033
+ "payload": {
1034
+ "action": "closed",
1035
+ "number": 935,
1036
+ "pull_request": {
1037
+ "_links": {
1038
+ "comments": {
1039
+ "href": "https://api.github.com/repos/sferik/rails_admin/issues/935/comments"
1040
+ },
1041
+ "html": {
1042
+ "href": "https://github.com/sferik/rails_admin/pull/935"
1043
+ },
1044
+ "review_comments": {
1045
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/935/comments"
1046
+ },
1047
+ "self": {
1048
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/935"
1049
+ }
1050
+ },
1051
+ "additions": 129,
1052
+ "base": {
1053
+ "label": "sferik:master",
1054
+ "ref": "master",
1055
+ "repo": {
1056
+ "clone_url": "https://github.com/sferik/rails_admin.git",
1057
+ "created_at": "2010-08-01T17:01:00Z",
1058
+ "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1059
+ "fork": false,
1060
+ "forks": 535,
1061
+ "git_url": "git://github.com/sferik/rails_admin.git",
1062
+ "has_downloads": true,
1063
+ "has_issues": true,
1064
+ "has_wiki": true,
1065
+ "homepage": "",
1066
+ "html_url": "https://github.com/sferik/rails_admin",
1067
+ "id": 810796,
1068
+ "language": "Ruby",
1069
+ "master_branch": null,
1070
+ "mirror_url": null,
1071
+ "name": "rails_admin",
1072
+ "open_issues": 57,
1073
+ "owner": {
1074
+ "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1075
+ "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
1076
+ "id": 10308,
1077
+ "login": "sferik",
1078
+ "url": "https://api.github.com/users/sferik"
1079
+ },
1080
+ "private": false,
1081
+ "pushed_at": "2012-01-20T15:33:48Z",
1082
+ "size": 420,
1083
+ "ssh_url": "git@github.com:sferik/rails_admin.git",
1084
+ "svn_url": "https://github.com/sferik/rails_admin",
1085
+ "updated_at": "2012-01-20T15:33:49Z",
1086
+ "url": "https://api.github.com/repos/sferik/rails_admin",
1087
+ "watchers": 2722
1088
+ },
1089
+ "sha": "34ac333dbdc8b1af2da24323caf04229cfa2ee67",
1090
+ "user": {
1091
+ "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1092
+ "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
1093
+ "id": 10308,
1094
+ "login": "sferik",
1095
+ "url": "https://api.github.com/users/sferik"
1096
+ }
1097
+ },
1098
+ "body": "Hi.\r\n\r\nI created initial russian translation for your great app.",
1099
+ "changed_files": 1,
1100
+ "closed_at": "2012-01-20T15:44:28Z",
1101
+ "comments": 1,
1102
+ "commits": 1,
1103
+ "created_at": "2012-01-20T14:42:02Z",
1104
+ "deletions": 0,
1105
+ "diff_url": "https://github.com/sferik/rails_admin/pull/935.diff",
1106
+ "head": {
1107
+ "label": "msamoylov:master",
1108
+ "ref": "master",
1109
+ "repo": {
1110
+ "clone_url": "https://github.com/msamoylov/rails_admin.git",
1111
+ "created_at": "2012-01-20T14:18:02Z",
1112
+ "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1113
+ "fork": true,
1114
+ "forks": 0,
1115
+ "git_url": "git://github.com/msamoylov/rails_admin.git",
1116
+ "has_downloads": true,
1117
+ "has_issues": false,
1118
+ "has_wiki": true,
1119
+ "homepage": "",
1120
+ "html_url": "https://github.com/msamoylov/rails_admin",
1121
+ "id": 3226804,
1122
+ "language": "Ruby",
1123
+ "master_branch": null,
1124
+ "mirror_url": null,
1125
+ "name": "rails_admin",
1126
+ "open_issues": 0,
1127
+ "owner": {
1128
+ "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1129
+ "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1130
+ "id": 106813,
1131
+ "login": "msamoylov",
1132
+ "url": "https://api.github.com/users/msamoylov"
1133
+ },
1134
+ "private": false,
1135
+ "pushed_at": "2012-01-20T14:39:06Z",
1136
+ "size": 172,
1137
+ "ssh_url": "git@github.com:msamoylov/rails_admin.git",
1138
+ "svn_url": "https://github.com/msamoylov/rails_admin",
1139
+ "updated_at": "2012-01-20T14:39:07Z",
1140
+ "url": "https://api.github.com/repos/msamoylov/rails_admin",
1141
+ "watchers": 1
1142
+ },
1143
+ "sha": "955e420f390175c2467621857d242a53baf7e10e",
1144
+ "user": {
1145
+ "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1146
+ "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1147
+ "id": 106813,
1148
+ "login": "msamoylov",
1149
+ "url": "https://api.github.com/users/msamoylov"
1150
+ }
1151
+ },
1152
+ "html_url": "https://github.com/sferik/rails_admin/pull/935",
1153
+ "id": 715511,
1154
+ "issue_url": "https://github.com/sferik/rails_admin/issues/935",
1155
+ "mergeable": true,
1156
+ "merged": false,
1157
+ "merged_at": null,
1158
+ "merged_by": null,
1159
+ "number": 935,
1160
+ "patch_url": "https://github.com/sferik/rails_admin/pull/935.patch",
1161
+ "review_comments": 0,
1162
+ "state": "closed",
1163
+ "title": "Initial russian translation",
1164
+ "updated_at": "2012-01-20T15:44:28Z",
1165
+ "url": "https://api.github.com/repos/sferik/rails_admin/pulls/935",
1166
+ "user": {
1167
+ "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1168
+ "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1169
+ "id": 106813,
1170
+ "login": "msamoylov",
1171
+ "url": "https://api.github.com/users/msamoylov"
1172
+ }
1173
+ }
1174
+ },
1175
+ "public": true,
1176
+ "repo": {
1177
+ "id": 810796,
1178
+ "name": "sferik/rails_admin",
1179
+ "url": "https://api.github.com/repos/sferik/rails_admin"
1180
+ },
1181
+ "type": "PullRequestEvent"
1182
+ },
1183
+ {
1184
+ "actor": {
1185
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1186
+ "id": 26794,
1187
+ "login": "bbenezech",
1188
+ "url": "https://api.github.com/users/bbenezech"
1189
+ },
1190
+ "created_at": "2012-01-20T15:44:29Z",
1191
+ "id": "1513095159",
1192
+ "org": {
1193
+ "url": "https://api.github.com/orgs/"
1194
+ },
1195
+ "payload": {
1196
+ "action": "created",
1197
+ "comment": {
1198
+ "body": "Hi Michael,\r\n\r\nThank you very much for your time!\r\n\r\nCan you add it to the wiki instead? Translations are not included in codebase anymore, because of maintenance limitations.\r\n\r\nhttps://github.com/sferik/rails_admin/wiki/Translations\r\n\r\nThanks again!",
1199
+ "created_at": "2012-01-20T15:44:28Z",
1200
+ "id": 3585405,
1201
+ "updated_at": "2012-01-20T15:44:28Z",
1202
+ "url": "https://api.github.com/repos/sferik/rails_admin/issues/comments/3585405",
1203
+ "user": {
1204
+ "avatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1205
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1206
+ "id": 26794,
1207
+ "login": "bbenezech",
1208
+ "url": "https://api.github.com/users/bbenezech"
1209
+ }
1210
+ },
1211
+ "issue": {
1212
+ "assignee": null,
1213
+ "body": "Hi.\r\n\r\nI created initial russian translation for your great app.",
1214
+ "closed_at": "2012-01-20T15:44:28Z",
1215
+ "comments": 1,
1216
+ "created_at": "2012-01-20T14:42:02Z",
1217
+ "html_url": "https://github.com/sferik/rails_admin/issues/935",
1218
+ "id": 2911903,
1219
+ "labels": [],
1220
+ "milestone": null,
1221
+ "number": 935,
1222
+ "pull_request": {
1223
+ "diff_url": "https://github.com/sferik/rails_admin/pull/935.diff",
1224
+ "html_url": "https://github.com/sferik/rails_admin/pull/935",
1225
+ "patch_url": "https://github.com/sferik/rails_admin/pull/935.patch"
1226
+ },
1227
+ "state": "closed",
1228
+ "title": "Initial russian translation",
1229
+ "updated_at": "2012-01-20T15:44:28Z",
1230
+ "url": "https://api.github.com/repos/sferik/rails_admin/issues/935",
1231
+ "user": {
1232
+ "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1233
+ "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1234
+ "id": 106813,
1235
+ "login": "msamoylov",
1236
+ "url": "https://api.github.com/users/msamoylov"
1237
+ }
1238
+ }
1239
+ },
1240
+ "public": true,
1241
+ "repo": {
1242
+ "id": 810796,
1243
+ "name": "sferik/rails_admin",
1244
+ "url": "https://api.github.com/repos/sferik/rails_admin"
1245
+ },
1246
+ "type": "IssueCommentEvent"
1247
+ },
1248
+ {
1249
+ "actor": {
1250
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1251
+ "id": 26794,
1252
+ "login": "bbenezech",
1253
+ "url": "https://api.github.com/users/bbenezech"
1254
+ },
1255
+ "created_at": "2012-01-20T15:41:35Z",
1256
+ "id": "1513094437",
1257
+ "org": {
1258
+ "url": "https://api.github.com/orgs/"
1259
+ },
1260
+ "payload": {
1261
+ "action": "created",
1262
+ "comment": {
1263
+ "body": "Hi Carsten,\r\n\r\nAbout 1, `model_config.object_label_method` should return at least `:rails_admin_default_object_label_method` (which is mixed in `ActiveRecord::Base` at application start-up) if your model does not respond to any of the `Config.label_methods`.\r\nPlease provide a failing spec, I don't get the issue.\r\n\r\nAbout 2, wording_for should not try to use `object_label_method` of a different model anymore, it should be fixed in HEAD.\r\nCan you try and report back?",
1264
+ "created_at": "2012-01-20T15:41:35Z",
1265
+ "id": 3585352,
1266
+ "updated_at": "2012-01-20T15:41:35Z",
1267
+ "url": "https://api.github.com/repos/sferik/rails_admin/issues/comments/3585352",
1268
+ "user": {
1269
+ "avatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1270
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1271
+ "id": 26794,
1272
+ "login": "bbenezech",
1273
+ "url": "https://api.github.com/users/bbenezech"
1274
+ }
1275
+ },
1276
+ "issue": {
1277
+ "assignee": null,
1278
+ "body": "I've just upgraded to the recent commit and found the following issues which I believe seem to be caused by the following line in the wording_for helper:\r\n\r\n :object_label => model_config && object.try(model_config.object_label_method)\r\n\r\nSituation 1:\r\nI haven't defined an own object_label_method for a model and the the model has no attribute called \"name\". I such situations the above line throws an error.\r\n\r\nI've fixed this by defining an object_label_method for each model, but I'd prefer this to be caught in the helper.\r\n\r\nSituation 2:\r\nIn the _form_filtering_select and _form_filtering_multiselect views, \r\n\r\n = link_to wording_for(:link, :new, config.abstract_model) ...\r\n\r\nthrows an error when the associated_model has not an attribute of the name of the object_label_method of the @object model.\r\n\r\nI've fixed this by adding a nil object, but should be in the helper.\r\n\r\n = link_to wording_for(:link, :new, config.abstract_model, nil)",
1279
+ "closed_at": null,
1280
+ "comments": 1,
1281
+ "created_at": "2012-01-20T14:36:57Z",
1282
+ "html_url": "https://github.com/sferik/rails_admin/issues/934",
1283
+ "id": 2911854,
1284
+ "labels": [],
1285
+ "milestone": null,
1286
+ "number": 934,
1287
+ "pull_request": {
1288
+ "diff_url": null,
1289
+ "html_url": null,
1290
+ "patch_url": null
1291
+ },
1292
+ "state": "open",
1293
+ "title": "Error caused by wording_for",
1294
+ "updated_at": "2012-01-20T15:41:35Z",
1295
+ "url": "https://api.github.com/repos/sferik/rails_admin/issues/934",
1296
+ "user": {
1297
+ "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1298
+ "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
1299
+ "id": 12294,
1300
+ "login": "reinkcar",
1301
+ "url": "https://api.github.com/users/reinkcar"
1302
+ }
1303
+ }
1304
+ },
1305
+ "public": true,
1306
+ "repo": {
1307
+ "id": 810796,
1308
+ "name": "sferik/rails_admin",
1309
+ "url": "https://api.github.com/repos/sferik/rails_admin"
1310
+ },
1311
+ "type": "IssueCommentEvent"
1312
+ },
1313
+ {
1314
+ "actor": {
1315
+ "gravatar_id": "c1607873b99845b2cd53f8634860d4d4",
1316
+ "id": 26794,
1317
+ "login": "bbenezech",
1318
+ "url": "https://api.github.com/users/bbenezech"
1319
+ },
1320
+ "created_at": "2012-01-20T15:33:51Z",
1321
+ "id": "1513092255",
1322
+ "org": {
1323
+ "url": "https://api.github.com/orgs/"
1324
+ },
1325
+ "payload": {
1326
+ "commits": [
1327
+ {
1328
+ "author": {
1329
+ "email": "benoit.benezech@gmail.com",
1330
+ "name": "Benoit Be\u0301ne\u0301zech"
1331
+ },
1332
+ "message": "added specs for actions",
1333
+ "sha": "5469bcc7dcc0d4f71cadea3abd7cee20a2b1220a",
1334
+ "url": "https://api.github.com/repos/sferik/rails_admin/commits/5469bcc7dcc0d4f71cadea3abd7cee20a2b1220a"
1335
+ }
1336
+ ],
1337
+ "head": "5469bcc7dcc0d4f71cadea3abd7cee20a2b1220a",
1338
+ "push_id": 58414877,
1339
+ "ref": "refs/heads/master",
1340
+ "size": 1
1341
+ },
1342
+ "public": true,
1343
+ "repo": {
1344
+ "id": 810796,
1345
+ "name": "sferik/rails_admin",
1346
+ "url": "https://api.github.com/repos/sferik/rails_admin"
1347
+ },
1348
+ "type": "PushEvent"
1349
+ },
1350
+ {
1351
+ "actor": {
1352
+ "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1353
+ "id": 106813,
1354
+ "login": "msamoylov",
1355
+ "url": "https://api.github.com/users/msamoylov"
1356
+ },
1357
+ "created_at": "2012-01-20T14:42:03Z",
1358
+ "id": "1513079075",
1359
+ "org": {
1360
+ "url": "https://api.github.com/orgs/"
1361
+ },
1362
+ "payload": {
1363
+ "action": "opened",
1364
+ "number": 935,
1365
+ "pull_request": {
1366
+ "_links": {
1367
+ "comments": {
1368
+ "href": "https://api.github.com/repos/sferik/rails_admin/issues/935/comments"
1369
+ },
1370
+ "html": {
1371
+ "href": "https://github.com/sferik/rails_admin/pull/935"
1372
+ },
1373
+ "review_comments": {
1374
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/935/comments"
1375
+ },
1376
+ "self": {
1377
+ "href": "https://api.github.com/repos/sferik/rails_admin/pulls/935"
1378
+ }
1379
+ },
1380
+ "additions": 129,
1381
+ "base": {
1382
+ "label": "sferik:master",
1383
+ "ref": "master",
1384
+ "repo": {
1385
+ "clone_url": "https://github.com/sferik/rails_admin.git",
1386
+ "created_at": "2010-08-01T17:01:00Z",
1387
+ "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1388
+ "fork": false,
1389
+ "forks": 535,
1390
+ "git_url": "git://github.com/sferik/rails_admin.git",
1391
+ "has_downloads": true,
1392
+ "has_issues": true,
1393
+ "has_wiki": true,
1394
+ "homepage": "",
1395
+ "html_url": "https://github.com/sferik/rails_admin",
1396
+ "id": 810796,
1397
+ "language": "Ruby",
1398
+ "master_branch": null,
1399
+ "mirror_url": null,
1400
+ "name": "rails_admin",
1401
+ "open_issues": 58,
1402
+ "owner": {
1403
+ "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1404
+ "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
1405
+ "id": 10308,
1406
+ "login": "sferik",
1407
+ "url": "https://api.github.com/users/sferik"
1408
+ },
1409
+ "private": false,
1410
+ "pushed_at": "2012-01-19T15:39:58Z",
1411
+ "size": 432,
1412
+ "ssh_url": "git@github.com:sferik/rails_admin.git",
1413
+ "svn_url": "https://github.com/sferik/rails_admin",
1414
+ "updated_at": "2012-01-20T14:30:30Z",
1415
+ "url": "https://api.github.com/repos/sferik/rails_admin",
1416
+ "watchers": 2724
1417
+ },
1418
+ "sha": "34ac333dbdc8b1af2da24323caf04229cfa2ee67",
1419
+ "user": {
1420
+ "avatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1421
+ "gravatar_id": "1f74b13f1e5c6c69cb5d7fbaabb1e2cb",
1422
+ "id": 10308,
1423
+ "login": "sferik",
1424
+ "url": "https://api.github.com/users/sferik"
1425
+ }
1426
+ },
1427
+ "body": "Hi.\r\n\r\nI created initial russian translation for your great app.",
1428
+ "changed_files": 1,
1429
+ "closed_at": null,
1430
+ "comments": 0,
1431
+ "commits": 1,
1432
+ "created_at": "2012-01-20T14:42:02Z",
1433
+ "deletions": 0,
1434
+ "diff_url": "https://github.com/sferik/rails_admin/pull/935.diff",
1435
+ "head": {
1436
+ "label": "msamoylov:master",
1437
+ "ref": "master",
1438
+ "repo": {
1439
+ "clone_url": "https://github.com/msamoylov/rails_admin.git",
1440
+ "created_at": "2012-01-20T14:18:02Z",
1441
+ "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1442
+ "fork": true,
1443
+ "forks": 0,
1444
+ "git_url": "git://github.com/msamoylov/rails_admin.git",
1445
+ "has_downloads": true,
1446
+ "has_issues": false,
1447
+ "has_wiki": true,
1448
+ "homepage": "",
1449
+ "html_url": "https://github.com/msamoylov/rails_admin",
1450
+ "id": 3226804,
1451
+ "language": "Ruby",
1452
+ "master_branch": null,
1453
+ "mirror_url": null,
1454
+ "name": "rails_admin",
1455
+ "open_issues": 0,
1456
+ "owner": {
1457
+ "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1458
+ "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1459
+ "id": 106813,
1460
+ "login": "msamoylov",
1461
+ "url": "https://api.github.com/users/msamoylov"
1462
+ },
1463
+ "private": false,
1464
+ "pushed_at": "2012-01-20T14:39:06Z",
1465
+ "size": 172,
1466
+ "ssh_url": "git@github.com:msamoylov/rails_admin.git",
1467
+ "svn_url": "https://github.com/msamoylov/rails_admin",
1468
+ "updated_at": "2012-01-20T14:39:07Z",
1469
+ "url": "https://api.github.com/repos/msamoylov/rails_admin",
1470
+ "watchers": 1
1471
+ },
1472
+ "sha": "955e420f390175c2467621857d242a53baf7e10e",
1473
+ "user": {
1474
+ "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1475
+ "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1476
+ "id": 106813,
1477
+ "login": "msamoylov",
1478
+ "url": "https://api.github.com/users/msamoylov"
1479
+ }
1480
+ },
1481
+ "html_url": "https://github.com/sferik/rails_admin/pull/935",
1482
+ "id": 715511,
1483
+ "issue_url": "https://github.com/sferik/rails_admin/issues/935",
1484
+ "mergeable": null,
1485
+ "merged": false,
1486
+ "merged_at": null,
1487
+ "merged_by": null,
1488
+ "number": 935,
1489
+ "patch_url": "https://github.com/sferik/rails_admin/pull/935.patch",
1490
+ "review_comments": 0,
1491
+ "state": "open",
1492
+ "title": "Initial russian translation",
1493
+ "updated_at": "2012-01-20T14:42:02Z",
1494
+ "url": "https://api.github.com/repos/sferik/rails_admin/pulls/935",
1495
+ "user": {
1496
+ "avatar_url": "https://secure.gravatar.com/avatar/1f9ff0601c00db567d4e5ae2540c47df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1497
+ "gravatar_id": "1f9ff0601c00db567d4e5ae2540c47df",
1498
+ "id": 106813,
1499
+ "login": "msamoylov",
1500
+ "url": "https://api.github.com/users/msamoylov"
1501
+ }
1502
+ }
1503
+ },
1504
+ "public": true,
1505
+ "repo": {
1506
+ "id": 810796,
1507
+ "name": "sferik/rails_admin",
1508
+ "url": "https://api.github.com/repos/sferik/rails_admin"
1509
+ },
1510
+ "type": "PullRequestEvent"
1511
+ },
1512
+ {
1513
+ "actor": {
1514
+ "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
1515
+ "id": 12294,
1516
+ "login": "reinkcar",
1517
+ "url": "https://api.github.com/users/reinkcar"
1518
+ },
1519
+ "created_at": "2012-01-20T14:37:00Z",
1520
+ "id": "1513077908",
1521
+ "org": {
1522
+ "url": "https://api.github.com/orgs/"
1523
+ },
1524
+ "payload": {
1525
+ "action": "opened",
1526
+ "issue": {
1527
+ "assignee": null,
1528
+ "body": "I've just upgraded to the recent commit and found the following issues which I believe seem to be caused by the following line in the wording_for helper:\r\n\r\n :object_label => model_config && object.try(model_config.object_label_method)\r\n\r\nSituation 1:\r\nI haven't defined an own object_label_method for a model and the the model has no attribute called \"name\". I such situations the above line throws an error.\r\n\r\nI've fixed this by defining an object_label_method for each model, but I'd prefer this to be caught in the helper.\r\n\r\nSituation 2:\r\nIn the _form_filtering_select and _form_filtering_multiselect views, \r\n\r\n = link_to wording_for(:link, :new, config.abstract_model) ...\r\n\r\nthrows an error when the associated_model has not an attribute of the name of the object_label_method of the @object model.\r\n\r\nI've fixed this by adding a nil object, but should be in the helper.\r\n\r\n = link_to wording_for(:link, :new, config.abstract_model, nil)",
1529
+ "closed_at": null,
1530
+ "comments": 0,
1531
+ "created_at": "2012-01-20T14:36:57Z",
1532
+ "html_url": "https://github.com/sferik/rails_admin/issues/934",
1533
+ "id": 2911854,
1534
+ "labels": [],
1535
+ "milestone": null,
1536
+ "number": 934,
1537
+ "pull_request": {
1538
+ "diff_url": null,
1539
+ "html_url": null,
1540
+ "patch_url": null
1541
+ },
1542
+ "state": "open",
1543
+ "title": "Error caused by wording_for",
1544
+ "updated_at": "2012-01-20T14:36:57Z",
1545
+ "url": "https://api.github.com/repos/sferik/rails_admin/issues/934",
1546
+ "user": {
1547
+ "avatar_url": "https://secure.gravatar.com/avatar/7bfe9ec5c9e4bc4e78fbf40c72ebaf95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1548
+ "gravatar_id": "7bfe9ec5c9e4bc4e78fbf40c72ebaf95",
1549
+ "id": 12294,
1550
+ "login": "reinkcar",
1551
+ "url": "https://api.github.com/users/reinkcar"
1552
+ }
1553
+ }
1554
+ },
1555
+ "public": true,
1556
+ "repo": {
1557
+ "id": 810796,
1558
+ "name": "sferik/rails_admin",
1559
+ "url": "https://api.github.com/repos/sferik/rails_admin"
1560
+ },
1561
+ "type": "IssuesEvent"
1562
+ },
1563
+ {
1564
+ "actor": {
1565
+ "gravatar_id": "3d889804514d950384b9ab4cd4a73a23",
1566
+ "id": 26083,
1567
+ "login": "Knack",
1568
+ "url": "https://api.github.com/users/Knack"
1569
+ },
1570
+ "created_at": "2012-01-20T14:34:00Z",
1571
+ "id": "1513077210",
1572
+ "org": {
1573
+ "url": "https://api.github.com/orgs/"
1574
+ },
1575
+ "payload": {
1576
+ "pages": [
1577
+ {
1578
+ "action": "edited",
1579
+ "html_url": "https://github.com/sferik/rails_admin/wiki/Translations",
1580
+ "page_name": "Translations",
1581
+ "sha": "c047cdaaa86de93d2f43d17c6ab2de274eacca9b",
1582
+ "summary": null,
1583
+ "title": "Translations"
1584
+ }
1585
+ ]
1586
+ },
1587
+ "public": true,
1588
+ "repo": {
1589
+ "id": 810796,
1590
+ "name": "sferik/rails_admin",
1591
+ "url": "https://api.github.com/repos/sferik/rails_admin"
1592
+ },
1593
+ "type": "GollumEvent"
1594
+ },
1595
+ {
1596
+ "actor": {
1597
+ "gravatar_id": "cd34bec6e1d5c13962d370a28ea73208",
1598
+ "id": 404647,
1599
+ "login": "bowmande",
1600
+ "url": "https://api.github.com/users/bowmande"
1601
+ },
1602
+ "created_at": "2012-01-20T14:30:31Z",
1603
+ "id": "1513076383",
1604
+ "org": {
1605
+ "url": "https://api.github.com/orgs/"
1606
+ },
1607
+ "payload": {
1608
+ "forkee": {
1609
+ "clone_url": "https://github.com/bowmande/rails_admin.git",
1610
+ "created_at": "2012-01-20T14:30:30Z",
1611
+ "description": "RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data",
1612
+ "fork": true,
1613
+ "forks": 0,
1614
+ "git_url": "git://github.com/bowmande/rails_admin.git",
1615
+ "has_downloads": true,
1616
+ "has_issues": false,
1617
+ "has_wiki": true,
1618
+ "homepage": "",
1619
+ "html_url": "https://github.com/bowmande/rails_admin",
1620
+ "id": 3226882,
1621
+ "language": "Ruby",
1622
+ "master_branch": null,
1623
+ "mirror_url": null,
1624
+ "name": "rails_admin",
1625
+ "open_issues": 0,
1626
+ "owner": {
1627
+ "avatar_url": "https://secure.gravatar.com/avatar/cd34bec6e1d5c13962d370a28ea73208?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
1628
+ "gravatar_id": "cd34bec6e1d5c13962d370a28ea73208",
1629
+ "id": 404647,
1630
+ "login": "bowmande",
1631
+ "url": "https://api.github.com/users/bowmande"
1632
+ },
1633
+ "private": false,
1634
+ "public": true,
1635
+ "pushed_at": "2012-01-19T15:39:58Z",
1636
+ "size": 432,
1637
+ "ssh_url": "git@github.com:bowmande/rails_admin.git",
1638
+ "svn_url": "https://github.com/bowmande/rails_admin",
1639
+ "updated_at": "2012-01-20T14:30:30Z",
1640
+ "url": "https://api.github.com/repos/bowmande/rails_admin",
1641
+ "watchers": 1
1642
+ }
1643
+ },
1644
+ "public": true,
1645
+ "repo": {
1646
+ "id": 810796,
1647
+ "name": "sferik/rails_admin",
1648
+ "url": "https://api.github.com/repos/sferik/rails_admin"
1649
+ },
1650
+ "type": "ForkEvent"
1651
+ }
1668
1652
  ]