octokit 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +3 -2
- data/CHANGELOG.md +20 -0
- data/Gemfile +5 -1
- data/README.md +67 -0
- data/lib/faraday/response/raise_error.rb +1 -1
- data/lib/octokit/client/commits.rb +2 -2
- data/lib/octokit/client/connection.rb +5 -7
- data/lib/octokit/client/issues.rb +19 -19
- data/lib/octokit/client/network.rb +2 -2
- data/lib/octokit/client/objects.rb +6 -6
- data/lib/octokit/client/organizations.rb +18 -18
- data/lib/octokit/client/pulls.rb +3 -3
- data/lib/octokit/client/repositories.rb +29 -29
- data/lib/octokit/client/request.rb +20 -19
- data/lib/octokit/client/timelines.rb +5 -5
- data/lib/octokit/client/users.rb +15 -15
- data/lib/octokit/configuration.rb +4 -15
- data/lib/octokit/version.rb +1 -1
- data/octokit.gemspec +14 -14
- data/spec/fixtures/{blob.json → v2/blob.json} +0 -0
- data/spec/fixtures/{blob_metadata.json → v2/blob_metadata.json} +0 -0
- data/spec/fixtures/{blobs.json → v2/blobs.json} +0 -0
- data/spec/fixtures/{branches.json → v2/branches.json} +0 -0
- data/spec/fixtures/{collaborators.json → v2/collaborators.json} +0 -0
- data/spec/fixtures/{comment.json → v2/comment.json} +0 -0
- data/spec/fixtures/{comments.json → v2/comments.json} +0 -0
- data/spec/fixtures/{commit.json → v2/commit.json} +0 -0
- data/spec/fixtures/{commits.json → v2/commits.json} +0 -0
- data/spec/fixtures/{contributors.json → v2/contributors.json} +0 -0
- data/spec/fixtures/v2/delete_failure.json +1 -0
- data/spec/fixtures/{delete_token.json → v2/delete_token.json} +0 -0
- data/spec/fixtures/{emails.json → v2/emails.json} +0 -0
- data/spec/fixtures/{followers.json → v2/followers.json} +0 -0
- data/spec/fixtures/{following.json → v2/following.json} +0 -0
- data/spec/fixtures/{issue.json → v2/issue.json} +0 -0
- data/spec/fixtures/{issues.json → v2/issues.json} +0 -0
- data/spec/fixtures/{labels.json → v2/labels.json} +0 -0
- data/spec/fixtures/{languages.json → v2/languages.json} +0 -0
- data/spec/fixtures/{network.json → v2/network.json} +0 -0
- data/spec/fixtures/{network_data.json → v2/network_data.json} +0 -0
- data/spec/fixtures/{network_meta.json → v2/network_meta.json} +0 -0
- data/spec/fixtures/{organization.json → v2/organization.json} +0 -0
- data/spec/fixtures/{organizations.json → v2/organizations.json} +0 -0
- data/spec/fixtures/{public_keys.json → v2/public_keys.json} +0 -0
- data/spec/fixtures/{pull.json → v2/pull.json} +0 -0
- data/spec/fixtures/{pulls.json → v2/pulls.json} +0 -0
- data/spec/fixtures/{raw.txt → v2/raw.txt} +0 -0
- data/spec/fixtures/{repositories.json → v2/repositories.json} +0 -0
- data/spec/fixtures/{repository.json → v2/repository.json} +0 -0
- data/spec/fixtures/{tags.json → v2/tags.json} +0 -0
- data/spec/fixtures/{team.json → v2/team.json} +0 -0
- data/spec/fixtures/{teams.json → v2/teams.json} +0 -0
- data/spec/fixtures/{tree.json → v2/tree.json} +0 -0
- data/spec/fixtures/{tree_metadata.json → v2/tree_metadata.json} +0 -0
- data/spec/fixtures/{user.json → v2/user.json} +0 -0
- data/spec/fixtures/{users.json → v2/users.json} +0 -0
- data/spec/fixtures/{watchers.json → v2/watchers.json} +0 -0
- data/spec/fixtures/v3/issues.json +1580 -0
- data/spec/helper.rb +3 -3
- data/spec/octokit/client/commits_spec.rb +2 -2
- data/spec/octokit/client/issues_spec.rb +25 -26
- data/spec/octokit/client/network_spec.rb +2 -2
- data/spec/octokit/client/objects_spec.rb +6 -9
- data/spec/octokit/client/organizations_spec.rb +19 -19
- data/spec/octokit/client/pulls_spec.rb +3 -3
- data/spec/octokit/client/repositories_spec.rb +44 -31
- data/spec/octokit/client/users_spec.rb +21 -21
- data/spec/octokit/client_spec.rb +8 -7
- metadata +110 -96
- data/README.markdown +0 -73
- data/changelog.markdown +0 -42
@@ -1,41 +1,42 @@
|
|
1
1
|
module Octokit
|
2
2
|
class Client
|
3
3
|
module Request
|
4
|
-
def get(path, options={},
|
5
|
-
request(:get, path, options,
|
4
|
+
def get(path, options={}, version=api_version, authenticate=true, raw=false)
|
5
|
+
request(:get, path, options, version, authenticate, raw)
|
6
6
|
end
|
7
7
|
|
8
|
-
def post(path, options={},
|
9
|
-
request(:post, path, options,
|
8
|
+
def post(path, options={}, version=api_version, authenticate=true, raw=false)
|
9
|
+
request(:post, path, options, version, authenticate, raw)
|
10
10
|
end
|
11
11
|
|
12
|
-
def put(path, options={},
|
13
|
-
request(:put, path, options,
|
12
|
+
def put(path, options={}, version=api_version, authenticate=true, raw=false)
|
13
|
+
request(:put, path, options, version, authenticate, raw)
|
14
14
|
end
|
15
15
|
|
16
|
-
def delete(path, options={},
|
17
|
-
request(:delete, path, options,
|
16
|
+
def delete(path, options={}, version=api_version, authenticate=true, raw=false)
|
17
|
+
request(:delete, path, options, version, authenticate, raw)
|
18
18
|
end
|
19
19
|
|
20
20
|
private
|
21
21
|
|
22
|
-
def request(method, path, options,
|
23
|
-
|
24
|
-
|
22
|
+
def request(method, path, options, version, authenticate, raw)
|
23
|
+
if [1, 2].include? version
|
24
|
+
url = "https://github.com/"
|
25
|
+
elsif version >= 3
|
26
|
+
url = "https://api.github.com/"
|
27
|
+
end
|
28
|
+
response = connection(url, authenticate, raw).send(method) do |request|
|
25
29
|
case method
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
30
|
+
when :get, :delete
|
31
|
+
request.url(path, options)
|
32
|
+
when :post, :put
|
33
|
+
request.path = path
|
34
|
+
request.body = options unless options.empty?
|
31
35
|
end
|
32
36
|
end
|
33
37
|
raw ? response : response.body
|
34
38
|
end
|
35
39
|
|
36
|
-
def formatted_path(path)
|
37
|
-
['api', ['v', version].join, format, path].compact.join('/')
|
38
|
-
end
|
39
40
|
end
|
40
41
|
end
|
41
42
|
end
|
@@ -3,18 +3,18 @@ module Octokit
|
|
3
3
|
module Timelines
|
4
4
|
|
5
5
|
def timeline(options={})
|
6
|
-
path = "
|
7
|
-
get(path, options,
|
6
|
+
path = "timeline.json"
|
7
|
+
get(path, options, 2, false)
|
8
8
|
end
|
9
9
|
|
10
10
|
def user_timeline(username=login, options={})
|
11
11
|
if token
|
12
|
-
path = "
|
12
|
+
path = "#{username}.private.json"
|
13
13
|
options[:token] = token
|
14
14
|
else
|
15
|
-
path = "
|
15
|
+
path = "#{username}.json"
|
16
16
|
end
|
17
|
-
get(path, options,
|
17
|
+
get(path, options, 2, false)
|
18
18
|
end
|
19
19
|
|
20
20
|
end
|
data/lib/octokit/client/users.rb
CHANGED
@@ -5,26 +5,26 @@ module Octokit
|
|
5
5
|
|
6
6
|
def search_users(search, options={})
|
7
7
|
if search.match(EMAIL_RE)
|
8
|
-
get("user/email/#{search}", options)['user']
|
8
|
+
get("api/v2/json/user/email/#{search}", options)['user']
|
9
9
|
else
|
10
|
-
get("user/search/#{search}", options)['users']
|
10
|
+
get("api/v2/json/user/search/#{search}", options)['users']
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
14
|
def user(username=nil, options={})
|
15
|
-
get(["user/show", username].compact.join('/'), options)['user']
|
15
|
+
get(["api/v2/json/user/show", username].compact.join('/'), options)['user']
|
16
16
|
end
|
17
17
|
|
18
18
|
def update_user(values, options={})
|
19
|
-
post("user/show/#{login}", options.merge({:values => values}))['user']
|
19
|
+
post("api/v2/json/user/show/#{login}", options.merge({:values => values}))['user']
|
20
20
|
end
|
21
21
|
|
22
22
|
def followers(user=login, options={})
|
23
|
-
get("user/show/#{user}/followers", options)['users']
|
23
|
+
get("api/v2/json/user/show/#{user}/followers", options)['users']
|
24
24
|
end
|
25
25
|
|
26
26
|
def following(user=login, options={})
|
27
|
-
get("user/show/#{user}/following", options)['users']
|
27
|
+
get("api/v2/json/user/show/#{user}/following", options)['users']
|
28
28
|
end
|
29
29
|
|
30
30
|
def follows?(*args)
|
@@ -36,39 +36,39 @@ module Octokit
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def follow(user, options={})
|
39
|
-
post("user/follow/#{user}", options)['users']
|
39
|
+
post("api/v2/json/user/follow/#{user}", options)['users']
|
40
40
|
end
|
41
41
|
|
42
42
|
def unfollow(user, options={})
|
43
|
-
post("user/unfollow/#{user}", options)['users']
|
43
|
+
post("api/v2/json/user/unfollow/#{user}", options)['users']
|
44
44
|
end
|
45
45
|
|
46
46
|
def watched(user=login, options={})
|
47
|
-
get("repos/watched/#{user}", options)['repositories']
|
47
|
+
get("api/v2/json/repos/watched/#{user}", options)['repositories']
|
48
48
|
end
|
49
49
|
|
50
50
|
def keys(options={})
|
51
|
-
get("user/keys", options)['public_keys']
|
51
|
+
get("api/v2/json/user/keys", options)['public_keys']
|
52
52
|
end
|
53
53
|
|
54
54
|
def add_key(title, key, options={})
|
55
|
-
post("user/key/add", options.merge({:title => title, :key => key}))['public_keys']
|
55
|
+
post("api/v2/json/user/key/add", options.merge({:title => title, :key => key}))['public_keys']
|
56
56
|
end
|
57
57
|
|
58
58
|
def remove_key(id, options={})
|
59
|
-
post("user/key/remove", options.merge({:id => id}))['public_keys']
|
59
|
+
post("api/v2/json/user/key/remove", options.merge({:id => id}))['public_keys']
|
60
60
|
end
|
61
61
|
|
62
62
|
def emails(options={})
|
63
|
-
get("user/emails", options)['emails']
|
63
|
+
get("api/v2/json/user/emails", options)['emails']
|
64
64
|
end
|
65
65
|
|
66
66
|
def add_email(email, options={})
|
67
|
-
post("user/email/add", options.merge({:email => email}))['emails']
|
67
|
+
post("api/v2/json/user/email/add", options.merge({:email => email}))['emails']
|
68
68
|
end
|
69
69
|
|
70
70
|
def remove_email(email, options={})
|
71
|
-
post("user/email/remove", options.merge({:email => email}))['emails']
|
71
|
+
post("api/v2/json/user/email/remove", options.merge({:email => email}))['emails']
|
72
72
|
end
|
73
73
|
end
|
74
74
|
end
|
@@ -5,31 +5,22 @@ module Octokit
|
|
5
5
|
module Configuration
|
6
6
|
VALID_OPTIONS_KEYS = [
|
7
7
|
:adapter,
|
8
|
-
:
|
9
|
-
:format,
|
8
|
+
:api_version,
|
10
9
|
:login,
|
11
10
|
:password,
|
12
11
|
:proxy,
|
13
12
|
:token,
|
14
13
|
:oauth_token,
|
15
|
-
:user_agent
|
16
|
-
:version].freeze
|
17
|
-
|
18
|
-
VALID_FORMATS = [
|
19
|
-
:json,
|
20
|
-
:xml,
|
21
|
-
:yaml].freeze
|
14
|
+
:user_agent].freeze
|
22
15
|
|
23
16
|
DEFAULT_ADAPTER = Faraday.default_adapter
|
24
|
-
|
25
|
-
DEFAULT_FORMAT = :json
|
17
|
+
DEFAULT_API_VERSION = 2
|
26
18
|
DEFAULT_LOGIN = nil
|
27
19
|
DEFAULT_PASSWORD = nil
|
28
20
|
DEFAULT_PROXY = nil
|
29
21
|
DEFAULT_TOKEN = nil
|
30
22
|
DEFAULT_OAUTH_TOKEN = nil
|
31
23
|
DEFAULT_USER_AGENT = "Octokit Ruby Gem #{Octokit::VERSION}".freeze
|
32
|
-
DEFAULT_VERSION = 2
|
33
24
|
|
34
25
|
attr_accessor *VALID_OPTIONS_KEYS
|
35
26
|
|
@@ -47,15 +38,13 @@ module Octokit
|
|
47
38
|
|
48
39
|
def reset
|
49
40
|
self.adapter = DEFAULT_ADAPTER
|
50
|
-
self.
|
51
|
-
self.format = DEFAULT_FORMAT
|
41
|
+
self.api_version = DEFAULT_API_VERSION
|
52
42
|
self.login = DEFAULT_LOGIN
|
53
43
|
self.password = DEFAULT_PASSWORD
|
54
44
|
self.proxy = DEFAULT_PROXY
|
55
45
|
self.token = DEFAULT_TOKEN
|
56
46
|
self.oauth_token = DEFAULT_OAUTH_TOKEN
|
57
47
|
self.user_agent = DEFAULT_USER_AGENT
|
58
|
-
self.version = DEFAULT_VERSION
|
59
48
|
end
|
60
49
|
end
|
61
50
|
end
|
data/lib/octokit/version.rb
CHANGED
data/octokit.gemspec
CHANGED
@@ -2,20 +2,20 @@
|
|
2
2
|
require File.expand_path('../lib/octokit/version', __FILE__)
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
|
-
s.add_development_dependency
|
6
|
-
s.add_development_dependency
|
7
|
-
s.add_development_dependency
|
8
|
-
s.add_development_dependency
|
9
|
-
s.add_development_dependency
|
10
|
-
s.add_development_dependency
|
11
|
-
s.add_development_dependency
|
12
|
-
s.
|
13
|
-
s.add_runtime_dependency
|
14
|
-
s.add_runtime_dependency
|
15
|
-
s.add_runtime_dependency
|
16
|
-
s.add_runtime_dependency
|
17
|
-
s.add_runtime_dependency
|
18
|
-
s.add_runtime_dependency
|
5
|
+
s.add_development_dependency 'json_pure', '~> 1.5'
|
6
|
+
s.add_development_dependency 'nokogiri', '~> 1.4'
|
7
|
+
s.add_development_dependency 'rake', '~> 0.8'
|
8
|
+
s.add_development_dependency 'rspec', '~> 2.5'
|
9
|
+
s.add_development_dependency 'simplecov', '~> 0.4'
|
10
|
+
s.add_development_dependency 'yard', '~> 0.6'
|
11
|
+
s.add_development_dependency 'webmock', '~> 1.6'
|
12
|
+
s.add_development_dependency 'ZenTest', '~> 4.5'
|
13
|
+
s.add_runtime_dependency 'addressable', '~> 2.2.4'
|
14
|
+
s.add_runtime_dependency 'hashie', '~> 1.0.0'
|
15
|
+
s.add_runtime_dependency 'faraday', '~> 0.6.0'
|
16
|
+
s.add_runtime_dependency 'faraday_middleware', '~> 0.6.0'
|
17
|
+
s.add_runtime_dependency 'multi_json', '~> 1.0.0'
|
18
|
+
s.add_runtime_dependency 'rash', '~> 0.3.0'
|
19
19
|
s.name = 'octokit'
|
20
20
|
s.authors = ["Wynn Netherland", "Adam Stacoviak", "Erik Michaels-Ober"]
|
21
21
|
s.description = %q{Simple wrapper for the GitHub API v2}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{"error":"sferik/rails_admin_failure Repository not found"}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,1580 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"user": {
|
4
|
+
"type": "User",
|
5
|
+
"login": "davelab",
|
6
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/49f568b11482e9100fde9e21c6c05585?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
7
|
+
"html_url": "https://github.com/davelab",
|
8
|
+
"url": "https://api.github.com/users/davelab",
|
9
|
+
"created_at": "2011-04-09T13:14:20Z"
|
10
|
+
},
|
11
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/388",
|
12
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/388",
|
13
|
+
"labels": [
|
14
|
+
|
15
|
+
],
|
16
|
+
"number": 388,
|
17
|
+
"comments": 0,
|
18
|
+
"assignee": null,
|
19
|
+
"pull_request": {
|
20
|
+
"html_url": null,
|
21
|
+
"diff_url": null,
|
22
|
+
"patch_url": null
|
23
|
+
},
|
24
|
+
"updated_at": "2011-04-28T19:41:50Z",
|
25
|
+
"created_at": "2011-04-28T19:41:50Z",
|
26
|
+
"closed_at": null,
|
27
|
+
"state": "open",
|
28
|
+
"body": "Hi,\r\ni followed this tutorial for poliphormic and STI models with upload method: http://tinyurl.com/236sp5y\r\ni want to know the best method to integrate this in rails_admin with a unic model page that include the file input for upload many images.\r\nthanks",
|
29
|
+
"title": "upload with paperclip & STI assets model",
|
30
|
+
"milestone": null
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"user": {
|
34
|
+
"type": "User",
|
35
|
+
"login": "bbenezech",
|
36
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
37
|
+
"email": "benoit.benezech@gmail.com",
|
38
|
+
"html_url": "https://github.com/bbenezech",
|
39
|
+
"url": "https://api.github.com/users/bbenezech",
|
40
|
+
"company": "",
|
41
|
+
"location": "Paris, France",
|
42
|
+
"blog": "",
|
43
|
+
"name": "Benoit Bénézech",
|
44
|
+
"created_at": "2008-09-29T20:55:27Z"
|
45
|
+
},
|
46
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/387",
|
47
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/387",
|
48
|
+
"labels": [
|
49
|
+
|
50
|
+
],
|
51
|
+
"number": 387,
|
52
|
+
"comments": 0,
|
53
|
+
"assignee": null,
|
54
|
+
"pull_request": {
|
55
|
+
"html_url": null,
|
56
|
+
"diff_url": null,
|
57
|
+
"patch_url": null
|
58
|
+
},
|
59
|
+
"updated_at": "2011-04-28T13:58:25Z",
|
60
|
+
"created_at": "2011-04-28T13:58:25Z",
|
61
|
+
"closed_at": null,
|
62
|
+
"state": "open",
|
63
|
+
"body": "We need to manually update ckeditor fields before we post them through AJAX.\r\n\r\nSee https://github.com/bbenezech/rails_admin/commit/5d024d55d04c0dab8447abfc9dd9a0af6c1c69f8",
|
64
|
+
"title": "Ajax posting of CKeditor fields",
|
65
|
+
"milestone": null
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"user": {
|
69
|
+
"type": "User",
|
70
|
+
"login": "alec-c4",
|
71
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/561f6b93e60563dabb66fb9802d06fa3?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
72
|
+
"email": "alec@alec-c4.com",
|
73
|
+
"html_url": "https://github.com/alec-c4",
|
74
|
+
"url": "https://api.github.com/users/alec-c4",
|
75
|
+
"company": "CyberBerry",
|
76
|
+
"location": "Moscow, Russia",
|
77
|
+
"blog": "http://alec-c4.com",
|
78
|
+
"name": "Alexey Poimtsev",
|
79
|
+
"created_at": "2008-09-19T07:47:03Z"
|
80
|
+
},
|
81
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/385",
|
82
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/385",
|
83
|
+
"labels": [
|
84
|
+
|
85
|
+
],
|
86
|
+
"number": 385,
|
87
|
+
"comments": 0,
|
88
|
+
"assignee": null,
|
89
|
+
"pull_request": {
|
90
|
+
"html_url": null,
|
91
|
+
"diff_url": null,
|
92
|
+
"patch_url": null
|
93
|
+
},
|
94
|
+
"updated_at": "2011-04-27T21:04:26Z",
|
95
|
+
"created_at": "2011-04-27T21:04:26Z",
|
96
|
+
"closed_at": null,
|
97
|
+
"state": "open",
|
98
|
+
"body": "Hi,\r\ni have model called Flag\r\n class Flag < ActiveRecord::Base\r\n attr_accessible :report_type, :flaggeable_id, :flaggeable_type, :return_to\r\n ########## Associations\r\n belongs_to :author, :class_name => \"User\"\r\n belongs_to :flaggeable, :polymorphic => true\r\n end\r\n\r\nand when i attempting to access this model from rails_admin i see error\r\n\r\nNoMethodError in RailsAdmin::MainsController#list\r\n\r\nYou have a nil object when you didn't expect it!\r\nYou might have expected an instance of Array.\r\nThe error occurred while evaluating nil.map\r\n\r\nFull traces - http://pastie.org/1840863\r\nBut, when i have commented line belongs_to :flaggeable, :polymorphic => true everything works fine.\r\n\r\nCould you check please work with polymorphs?",
|
99
|
+
"title": "polymorphic associations causes exception",
|
100
|
+
"milestone": null
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"user": {
|
104
|
+
"type": "User",
|
105
|
+
"login": "bbenezech",
|
106
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
107
|
+
"email": "benoit.benezech@gmail.com",
|
108
|
+
"html_url": "https://github.com/bbenezech",
|
109
|
+
"url": "https://api.github.com/users/bbenezech",
|
110
|
+
"company": "",
|
111
|
+
"location": "Paris, France",
|
112
|
+
"blog": "",
|
113
|
+
"name": "Benoit Bénézech",
|
114
|
+
"created_at": "2008-09-29T20:55:27Z"
|
115
|
+
},
|
116
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/384",
|
117
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/384",
|
118
|
+
"labels": [
|
119
|
+
|
120
|
+
],
|
121
|
+
"number": 384,
|
122
|
+
"comments": 0,
|
123
|
+
"assignee": null,
|
124
|
+
"pull_request": {
|
125
|
+
"html_url": null,
|
126
|
+
"diff_url": null,
|
127
|
+
"patch_url": null
|
128
|
+
},
|
129
|
+
"updated_at": "2011-04-27T18:59:00Z",
|
130
|
+
"created_at": "2011-04-27T16:04:05Z",
|
131
|
+
"closed_at": null,
|
132
|
+
"state": "open",
|
133
|
+
"body": "since commit https://github.com/sferik/rails_admin/commit/f7870747d211efaa36beb401c411e1517aa00da1\n\nhttps://github.com/sferik/rails_admin/blob/master/spec/lib/install_spec.rb\n\nand\n\nhttps://github.com/sferik/rails_admin/blob/master/spec/lib/uninstall_spec.rb\n\nchange Rails.configuration.root to some tmp folder to test installation stuff, and do not change it back to dummy_app root folder.\n\nPlease someone fix it, I tried and it drove me mad.",
|
134
|
+
"title": "Build broken",
|
135
|
+
"milestone": null
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"user": {
|
139
|
+
"type": "User",
|
140
|
+
"login": "jmccartie",
|
141
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/544e2e76286098a2c64c3638401d2191?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
142
|
+
"email": "",
|
143
|
+
"html_url": "https://github.com/jmccartie",
|
144
|
+
"url": "https://api.github.com/users/jmccartie",
|
145
|
+
"company": "LifeChurch.tv",
|
146
|
+
"location": "Edmond, OK",
|
147
|
+
"blog": "http://blog.mccartie.com",
|
148
|
+
"name": "Jon McCartie",
|
149
|
+
"created_at": "2009-09-30T19:06:08Z"
|
150
|
+
},
|
151
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/383",
|
152
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/383",
|
153
|
+
"labels": [
|
154
|
+
|
155
|
+
],
|
156
|
+
"number": 383,
|
157
|
+
"comments": 0,
|
158
|
+
"assignee": null,
|
159
|
+
"pull_request": {
|
160
|
+
"html_url": null,
|
161
|
+
"diff_url": null,
|
162
|
+
"patch_url": null
|
163
|
+
},
|
164
|
+
"updated_at": "2011-04-26T01:34:41Z",
|
165
|
+
"created_at": "2011-04-25T21:23:34Z",
|
166
|
+
"closed_at": null,
|
167
|
+
"state": "open",
|
168
|
+
"body": "Was attempting to add some [action caching](http://guides.rubyonrails.org/caching_with_rails.html#action-caching) to my app, but didn't know if rails_admin had the ability to expire caches. For example:\n\n class PagesController < ApplicationController\n caches_action :index\n\n def index\n @pages = Page.all\n end\n end\n\nIn order to invalidate this cache, I need to expire it (`expire_action :action => :index`), but since I don't have a create/update action (all done through rails_admin), not sure how to invalidate it.\n\nAssuming this doesn't exist, would love to have the ability to specify which models should perform those actions. (should probably be inclusive [not exclusive/default] and require adding to a config)\n\n(happy to take a stab at it -- just may need a few hints)\n\n ",
|
169
|
+
"title": "Permit Action Caching",
|
170
|
+
"milestone": null
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"user": {
|
174
|
+
"type": "User",
|
175
|
+
"login": "markbates",
|
176
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/c6f2229ca2c8dcf0176f036508ec2c3b?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
177
|
+
"email": "mark+github@markbates.com",
|
178
|
+
"html_url": "https://github.com/markbates",
|
179
|
+
"url": "https://api.github.com/users/markbates",
|
180
|
+
"company": null,
|
181
|
+
"location": "Boston, MA",
|
182
|
+
"blog": "http://www.metabates.com",
|
183
|
+
"name": "Mark Bates",
|
184
|
+
"created_at": "2008-03-21T15:55:40Z"
|
185
|
+
},
|
186
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/382",
|
187
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/382",
|
188
|
+
"labels": [
|
189
|
+
|
190
|
+
],
|
191
|
+
"number": 382,
|
192
|
+
"comments": 0,
|
193
|
+
"assignee": null,
|
194
|
+
"pull_request": {
|
195
|
+
"html_url": "https://github.com/sferik/rails_admin/pull/382",
|
196
|
+
"diff_url": "https://github.com/sferik/rails_admin/pull/382.diff",
|
197
|
+
"patch_url": "https://github.com/sferik/rails_admin/pull/382.patch"
|
198
|
+
},
|
199
|
+
"updated_at": "2011-04-25T17:52:26Z",
|
200
|
+
"created_at": "2011-04-25T17:52:26Z",
|
201
|
+
"closed_at": null,
|
202
|
+
"state": "open",
|
203
|
+
"body": "I encountered this in Postgres project that is using search vectors. The property type was coming in as nil for this field and subsequently blows up Rails Admin. I've set it to ignore this column entirely if the property type is nil.",
|
204
|
+
"title": "Ignore field when property type is nil",
|
205
|
+
"milestone": null
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"user": {
|
209
|
+
"type": "User",
|
210
|
+
"login": "brodock",
|
211
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/2c8545cf821ed984bae91dcda758e105?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
212
|
+
"email": "brodock@gmail.com",
|
213
|
+
"html_url": "https://github.com/brodock",
|
214
|
+
"url": "https://api.github.com/users/brodock",
|
215
|
+
"company": null,
|
216
|
+
"location": "Florianópolis, SC",
|
217
|
+
"blog": "http://blog.gabrielmazetto.eti.br",
|
218
|
+
"name": "Gabriel Mazetto",
|
219
|
+
"created_at": "2008-08-13T19:34:17Z"
|
220
|
+
},
|
221
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/379",
|
222
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/379",
|
223
|
+
"labels": [
|
224
|
+
|
225
|
+
],
|
226
|
+
"number": 379,
|
227
|
+
"comments": 0,
|
228
|
+
"assignee": null,
|
229
|
+
"pull_request": {
|
230
|
+
"html_url": null,
|
231
|
+
"diff_url": null,
|
232
|
+
"patch_url": null
|
233
|
+
},
|
234
|
+
"updated_at": "2011-04-22T00:33:33Z",
|
235
|
+
"created_at": "2011-04-22T00:33:33Z",
|
236
|
+
"closed_at": null,
|
237
|
+
"state": "open",
|
238
|
+
"body": "Imagine that for example:\r\n\r\na Model Product with a has_one association to a Item.\r\nWhen creating a Product, I would like to have all ˜Products\" and \"Item\" fields on the same screen.\r\n\r\nBy just saying that makes someone suggest that I shall append the \"item fields\" to the products table, but imagine that the \"Items table\" is not only for products, it can be used by many other models that has the need for that specifc information.\r\n\r\nThis should be configurable, as the select field approuch today, can be useful for someone this other approuch could be of some help to others like me that use this style of data modeling.",
|
239
|
+
"title": "has_one associated model should optionaly be automatically created while creating the other one",
|
240
|
+
"milestone": null
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"user": {
|
244
|
+
"type": "User",
|
245
|
+
"login": "bbenezech",
|
246
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
247
|
+
"email": "benoit.benezech@gmail.com",
|
248
|
+
"html_url": "https://github.com/bbenezech",
|
249
|
+
"url": "https://api.github.com/users/bbenezech",
|
250
|
+
"company": "",
|
251
|
+
"location": "Paris, France",
|
252
|
+
"blog": "",
|
253
|
+
"name": "Benoit Bénézech",
|
254
|
+
"created_at": "2008-09-29T20:55:27Z"
|
255
|
+
},
|
256
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/375",
|
257
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/375",
|
258
|
+
"labels": [
|
259
|
+
|
260
|
+
],
|
261
|
+
"number": 375,
|
262
|
+
"comments": 0,
|
263
|
+
"assignee": null,
|
264
|
+
"pull_request": {
|
265
|
+
"html_url": "https://github.com/sferik/rails_admin/pull/375",
|
266
|
+
"diff_url": "https://github.com/sferik/rails_admin/pull/375.diff",
|
267
|
+
"patch_url": "https://github.com/sferik/rails_admin/pull/375.patch"
|
268
|
+
},
|
269
|
+
"updated_at": "2011-04-19T10:43:14Z",
|
270
|
+
"created_at": "2011-04-19T10:43:14Z",
|
271
|
+
"closed_at": null,
|
272
|
+
"state": "open",
|
273
|
+
"body": "issue #314\r\n",
|
274
|
+
"title": "314 new menu",
|
275
|
+
"milestone": null
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"user": {
|
279
|
+
"type": "User",
|
280
|
+
"login": "bbenezech",
|
281
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
282
|
+
"email": "benoit.benezech@gmail.com",
|
283
|
+
"html_url": "https://github.com/bbenezech",
|
284
|
+
"url": "https://api.github.com/users/bbenezech",
|
285
|
+
"company": "",
|
286
|
+
"location": "Paris, France",
|
287
|
+
"blog": "",
|
288
|
+
"name": "Benoit Bénézech",
|
289
|
+
"created_at": "2008-09-29T20:55:27Z"
|
290
|
+
},
|
291
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/372",
|
292
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/372",
|
293
|
+
"labels": [
|
294
|
+
|
295
|
+
],
|
296
|
+
"number": 372,
|
297
|
+
"comments": 1,
|
298
|
+
"assignee": null,
|
299
|
+
"pull_request": {
|
300
|
+
"html_url": null,
|
301
|
+
"diff_url": null,
|
302
|
+
"patch_url": null
|
303
|
+
},
|
304
|
+
"updated_at": "2011-04-15T13:07:18Z",
|
305
|
+
"created_at": "2011-04-15T07:57:03Z",
|
306
|
+
"closed_at": null,
|
307
|
+
"state": "open",
|
308
|
+
"body": "This cause javascript problems (filtering multiselect not showing for example) when you open a form in popup with same field name as in parent form, since popups are not in iframes.\n\nI can see two possible follow-up : \n\n* Put the popup form in an iframe\n\n* Refactor the ids generation, and I can't see any good reason not to use a form builder\n\nSecond solution is better of course, it opens the possibility for nested attributes and form factorisation, and better maintainability.\nSimple form and formtastic are interesting options.\n\nAny opinion on this ?",
|
309
|
+
"title": "Form fields ids are not unique.",
|
310
|
+
"milestone": null
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"user": {
|
314
|
+
"type": "User",
|
315
|
+
"login": "aunderwo",
|
316
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/c1e8f7f62a20b3030463b1bc908f0f5d?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
317
|
+
"email": "github@ants.oib.com",
|
318
|
+
"html_url": "https://github.com/aunderwo",
|
319
|
+
"url": "https://api.github.com/users/aunderwo",
|
320
|
+
"company": null,
|
321
|
+
"location": "Watford, UK",
|
322
|
+
"blog": null,
|
323
|
+
"name": "Anthony Underwood",
|
324
|
+
"created_at": "2008-02-19T17:30:53Z"
|
325
|
+
},
|
326
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/370",
|
327
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/370",
|
328
|
+
"labels": [
|
329
|
+
{
|
330
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/bug",
|
331
|
+
"color": "ff9c9c",
|
332
|
+
"name": "bug"
|
333
|
+
}
|
334
|
+
],
|
335
|
+
"number": 370,
|
336
|
+
"comments": 5,
|
337
|
+
"assignee": {
|
338
|
+
"type": "User",
|
339
|
+
"login": "kaapa",
|
340
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/40a0afa49eb7b12db4dcda70b2e1520d?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
341
|
+
"email": "petteri.kaapa@gmail.com",
|
342
|
+
"html_url": "https://github.com/kaapa",
|
343
|
+
"url": "https://api.github.com/users/kaapa",
|
344
|
+
"company": null,
|
345
|
+
"location": "Finland",
|
346
|
+
"blog": null,
|
347
|
+
"name": "Petteri Kääpä",
|
348
|
+
"created_at": "2010-03-03T23:01:52Z"
|
349
|
+
},
|
350
|
+
"pull_request": {
|
351
|
+
"html_url": null,
|
352
|
+
"diff_url": null,
|
353
|
+
"patch_url": null
|
354
|
+
},
|
355
|
+
"updated_at": "2011-04-29T06:10:46Z",
|
356
|
+
"created_at": "2011-04-09T15:01:22Z",
|
357
|
+
"closed_at": null,
|
358
|
+
"state": "open",
|
359
|
+
"body": "When viewing a model that has a polymorphic association (via belongs to) I am getting the following problem:\r\n\r\n You have a nil object when you didn't expect it!\r\n You might have expected an instance of Array.\r\n The error occurred while evaluating nil.map\r\n\r\ntrace is\r\n\r\n /Users/anthony/.rvm/gems/ruby-1.9.2-p0/bundler/gems/rails_admin-1ee2f2af816b/lib/rails_admin/config/fields/types/polymorphic_association.rb:33:in `associated_model_config'\r\n /Users/anthony/.rvm/gems/ruby-1.9.2-p0/bundler/gems/rails_admin-1ee2f2af816b/lib/rails_admin/config/fields/types/polymorphic_association.rb:21:in `block in <class:PolymorphicAssociation>'\r\n /Users/anthony/.rvm/gems/ruby-1.9.2-p0/bundler/gems/rails_admin-1ee2f2af816b/lib/rails_admin/config/base.rb:83:in `instance_eval'\r\n /Users/anthony/.rvm/gems/ruby-1.9.2-p0/bundler/gems/rails_admin-1ee2f2af816b/lib/rails_admin/config/base.rb:83:in `block in register_instance_option'\r\n /Users/anthony/.rvm/gems/ruby-1.9.2-p0/bundler/gems/rails_admin-1ee2f2af816b/lib/rails_admin/config/base.rb:57:in `block in register_instance_option'\r\n /Users/anthony/.rvm/gems/ruby-1.9.2-p0/bundler/gems/rails_admin-1ee2f2af816b/lib/rails_admin/config/has_fields.rb:60:in `block in visible_fields'\r\n /Users/anthony/.rvm/gems/ruby-1.9.2-p0/bundler/gems/rails_admin-1ee2f2af816b/lib/rails_admin/config/has_fields.rb:60:in `select'\r\n /Users/anthony/.rvm/gems/ruby-1.9.2-p0/bundler/gems/rails_admin-1ee2f2af816b/lib/rails_admin/config/has_fields.rb:60:in `visible_fields'\r\n /Users/anthony/.rvm/gems/ruby-1.9.2-p0/bundler/gems/rails_admin-1ee2f2af816b/app/controllers/rails_admin/main_controller.rb:339:in `list_entries'\r\n /Users/anthony/.rvm/gems/ruby-1.9.2-p0/bundler/gems/rails_admin-1ee2f2af816b/app/controllers/rails_admin/main_controller.rb:36:in `list'\r\n\r\nI'm sure this used to work fine in earlier versions of rails_admin :(",
|
360
|
+
"title": "Polymorphic association problem",
|
361
|
+
"milestone": {
|
362
|
+
"open_issues": 26,
|
363
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/4",
|
364
|
+
"description": "The first gem release",
|
365
|
+
"creator": {
|
366
|
+
"type": "User",
|
367
|
+
"login": "sferik",
|
368
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
369
|
+
"email": "sferik@gmail.com",
|
370
|
+
"html_url": "https://github.com/sferik",
|
371
|
+
"url": "https://api.github.com/users/sferik",
|
372
|
+
"company": "Code for America",
|
373
|
+
"location": "San Francisco",
|
374
|
+
"blog": "http://twitter.com/sferik",
|
375
|
+
"name": "Erik Michaels-Ober",
|
376
|
+
"created_at": "2008-05-14T20:36:12Z"
|
377
|
+
},
|
378
|
+
"number": 4,
|
379
|
+
"due_on": "2011-08-01T07:00:00Z",
|
380
|
+
"created_at": "2011-04-10T02:44:04Z",
|
381
|
+
"state": "open",
|
382
|
+
"title": "0.0",
|
383
|
+
"closed_issues": 4
|
384
|
+
}
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"user": {
|
388
|
+
"type": "User",
|
389
|
+
"login": "dustMason",
|
390
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/e9ed2af775174211429aae4d5e7805c6?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
391
|
+
"email": null,
|
392
|
+
"html_url": "https://github.com/dustMason",
|
393
|
+
"url": "https://api.github.com/users/dustMason",
|
394
|
+
"company": "Genuine Parts, LLC",
|
395
|
+
"location": "Oakland, CA",
|
396
|
+
"blog": "http://specifyapp.com",
|
397
|
+
"name": "Jordan Sitkin",
|
398
|
+
"created_at": "2010-08-19T01:05:32Z"
|
399
|
+
},
|
400
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/366",
|
401
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/366",
|
402
|
+
"labels": [
|
403
|
+
{
|
404
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/bug",
|
405
|
+
"color": "ff9c9c",
|
406
|
+
"name": "bug"
|
407
|
+
}
|
408
|
+
],
|
409
|
+
"number": 366,
|
410
|
+
"comments": 2,
|
411
|
+
"assignee": null,
|
412
|
+
"pull_request": {
|
413
|
+
"html_url": null,
|
414
|
+
"diff_url": null,
|
415
|
+
"patch_url": null
|
416
|
+
},
|
417
|
+
"updated_at": "2011-04-27T18:04:15Z",
|
418
|
+
"created_at": "2011-04-04T20:23:28Z",
|
419
|
+
"closed_at": null,
|
420
|
+
"state": "open",
|
421
|
+
"body": "I have a model with the primary key of \"merchant_id\". When trying to view the model data in rails_admin I get an error\r\n ActiveRecord::StatementInvalid in RailsAdmin::MainsController#list\r\nI'm using the ActiveRecord adaptor (as indicated in the error). I'm assuming this is due to the use of *find_by_id* in some places, rather than *find*. While *find_by_id* makes sense because it returns *nil* when the record cant be found, it precludes the ability to use ActiveRecord to set any primary key value on a model.\r\n\r\nAfter altering the *get* method in /lib/rails_admin/adapters/active_record.rb to use *find* instead of *find_by_id*, this is the error I see:\r\n PGError: ERROR: column \"id\" does not exist\r\n LINE 1: SELECT \"stores\".* FROM \"stores\" ORDER BY id desc LIMIT 20 O...\r\n ^\r\n : SELECT \"stores\".* FROM \"stores\" ORDER BY id desc LIMIT 20 OFFSET 0\r\nand the relevant part of the full trace:\r\n /Users/turtle/Documents/CodeLibrary/rails_admin_master/lib/rails_admin/adapters/active_record.rb:46:in `all'\r\n /Users/turtle/Documents/CodeLibrary/rails_admin_master/lib/rails_admin/adapters/active_record.rb:60:in `paginated'\r\n /Users/turtle/Documents/CodeLibrary/rails_admin_master/app/controllers/rails_admin/main_controller.rb:348:in `list_entries'\r\n /Users/turtle/Documents/CodeLibrary/rails_admin_master/app/controllers/rails_admin/main_controller.rb:36:in `list'",
|
422
|
+
"title": "Error when trying to administrate models with primary keys named anything but \"id\"",
|
423
|
+
"milestone": {
|
424
|
+
"open_issues": 26,
|
425
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/4",
|
426
|
+
"description": "The first gem release",
|
427
|
+
"creator": {
|
428
|
+
"type": "User",
|
429
|
+
"login": "sferik",
|
430
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
431
|
+
"email": "sferik@gmail.com",
|
432
|
+
"html_url": "https://github.com/sferik",
|
433
|
+
"url": "https://api.github.com/users/sferik",
|
434
|
+
"company": "Code for America",
|
435
|
+
"location": "San Francisco",
|
436
|
+
"blog": "http://twitter.com/sferik",
|
437
|
+
"name": "Erik Michaels-Ober",
|
438
|
+
"created_at": "2008-05-14T20:36:12Z"
|
439
|
+
},
|
440
|
+
"number": 4,
|
441
|
+
"due_on": "2011-08-01T07:00:00Z",
|
442
|
+
"created_at": "2011-04-10T02:44:04Z",
|
443
|
+
"state": "open",
|
444
|
+
"title": "0.0",
|
445
|
+
"closed_issues": 4
|
446
|
+
}
|
447
|
+
},
|
448
|
+
{
|
449
|
+
"user": {
|
450
|
+
"type": "User",
|
451
|
+
"login": "amrnt",
|
452
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1be13b794a692d0b083fb52485eb22ea?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
453
|
+
"email": "amrnt0@gmail.com",
|
454
|
+
"html_url": "https://github.com/amrnt",
|
455
|
+
"url": "https://api.github.com/users/amrnt",
|
456
|
+
"company": "",
|
457
|
+
"location": "Nablus, PS",
|
458
|
+
"blog": "http://rushthinking.com",
|
459
|
+
"name": "Amr Numan Tamimi",
|
460
|
+
"created_at": "2008-08-24T16:59:34Z"
|
461
|
+
},
|
462
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/362",
|
463
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/362",
|
464
|
+
"labels": [
|
465
|
+
{
|
466
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/bug",
|
467
|
+
"color": "ff9c9c",
|
468
|
+
"name": "bug"
|
469
|
+
}
|
470
|
+
],
|
471
|
+
"number": 362,
|
472
|
+
"comments": 13,
|
473
|
+
"assignee": {
|
474
|
+
"type": "User",
|
475
|
+
"login": "caboteria",
|
476
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/e381ef5e90b6ed2bd5082a9a463cea3b?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
477
|
+
"email": null,
|
478
|
+
"html_url": "https://github.com/caboteria",
|
479
|
+
"url": "https://api.github.com/users/caboteria",
|
480
|
+
"company": null,
|
481
|
+
"location": "Massachusetts, USA",
|
482
|
+
"blog": "http://www.caboteria.org/",
|
483
|
+
"name": "toby cabot",
|
484
|
+
"created_at": "2009-05-15T21:51:49Z"
|
485
|
+
},
|
486
|
+
"pull_request": {
|
487
|
+
"html_url": null,
|
488
|
+
"diff_url": null,
|
489
|
+
"patch_url": null
|
490
|
+
},
|
491
|
+
"updated_at": "2011-04-22T14:03:11Z",
|
492
|
+
"created_at": "2011-04-01T09:31:43Z",
|
493
|
+
"closed_at": null,
|
494
|
+
"state": "open",
|
495
|
+
"body": "In the `admin/:model` the search form must not point to `/rails_admin/main/list`...\r\nPlease check it I have the same error in the whole `list` pages of the models\r\n\r\nAmr",
|
496
|
+
"title": "Error in the `action` of the search form of models in `list` page",
|
497
|
+
"milestone": {
|
498
|
+
"open_issues": 26,
|
499
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/4",
|
500
|
+
"description": "The first gem release",
|
501
|
+
"creator": {
|
502
|
+
"type": "User",
|
503
|
+
"login": "sferik",
|
504
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
505
|
+
"email": "sferik@gmail.com",
|
506
|
+
"html_url": "https://github.com/sferik",
|
507
|
+
"url": "https://api.github.com/users/sferik",
|
508
|
+
"company": "Code for America",
|
509
|
+
"location": "San Francisco",
|
510
|
+
"blog": "http://twitter.com/sferik",
|
511
|
+
"name": "Erik Michaels-Ober",
|
512
|
+
"created_at": "2008-05-14T20:36:12Z"
|
513
|
+
},
|
514
|
+
"number": 4,
|
515
|
+
"due_on": "2011-08-01T07:00:00Z",
|
516
|
+
"created_at": "2011-04-10T02:44:04Z",
|
517
|
+
"state": "open",
|
518
|
+
"title": "0.0",
|
519
|
+
"closed_issues": 4
|
520
|
+
}
|
521
|
+
},
|
522
|
+
{
|
523
|
+
"user": {
|
524
|
+
"type": "User",
|
525
|
+
"login": "dustMason",
|
526
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/e9ed2af775174211429aae4d5e7805c6?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
527
|
+
"email": null,
|
528
|
+
"html_url": "https://github.com/dustMason",
|
529
|
+
"url": "https://api.github.com/users/dustMason",
|
530
|
+
"company": "Genuine Parts, LLC",
|
531
|
+
"location": "Oakland, CA",
|
532
|
+
"blog": "http://specifyapp.com",
|
533
|
+
"name": "Jordan Sitkin",
|
534
|
+
"created_at": "2010-08-19T01:05:32Z"
|
535
|
+
},
|
536
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/361",
|
537
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/361",
|
538
|
+
"labels": [
|
539
|
+
{
|
540
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/bug",
|
541
|
+
"color": "ff9c9c",
|
542
|
+
"name": "bug"
|
543
|
+
}
|
544
|
+
],
|
545
|
+
"number": 361,
|
546
|
+
"comments": 2,
|
547
|
+
"assignee": null,
|
548
|
+
"pull_request": {
|
549
|
+
"html_url": null,
|
550
|
+
"diff_url": null,
|
551
|
+
"patch_url": null
|
552
|
+
},
|
553
|
+
"updated_at": "2011-04-10T02:55:45Z",
|
554
|
+
"created_at": "2011-03-30T22:22:49Z",
|
555
|
+
"closed_at": null,
|
556
|
+
"state": "open",
|
557
|
+
"body": "I have a model event.rb:\r\n class Event < ActiveRecord::Base\r\n serialize :data\r\n belongs_to :user\r\n end\r\n class ProductAddedEvent < Event; end\r\n class CollectionCreatedEvent < Event; end\r\n class FollowingEvent < Event; end\r\n class FollowedEvent < Event; end\r\n class CommentAddedEvent < Event; end\r\nwhich seems to be causing Rails Admin (latest version as of today) to throw an error when I try to look at any model:\r\n\tuninitialized constant CollectionCreatedEvent\r\n\r\nExtracted Source:\r\n\t1: <%\r\n\t2: max_visible_tabs = RailsAdmin::Config::Sections::Navigation.max_visible_tabs\r\n\t3: models = RailsAdmin::Config.visible_models.select { |model| authorized?(:list, model.abstract_model) }\r\n\t4: %>\r\n\t5: <ul id=\"nav\">\r\n\t6: <li <%if @page_type == \"dashboard\" %>class=\"active\"<% end %>><%= link_to(t(\"admin.dashboard.name\"), rails_admin_dashboard_path) %></li>\r\n\r\nFull Trace:\r\n\tactivesupport (3.0.6.rc1) lib/active_support/inflector/methods.rb:113:in `constantize'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/inflector/methods.rb:112:in `each'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/inflector/methods.rb:112:in `constantize'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/core_ext/string/inflections.rb:43:in `constantize'\r\n\t/Library/Ruby/Gems/1.8/bundler/gems/rails_admin-508288dfdc24/lib/rails_admin/abstract_model.rb:74:in `model'\r\n\t/Library/Ruby/Gems/1.8/bundler/gems/rails_admin-508288dfdc24/lib/rails_admin/config.rb:46:in `model'\r\n\t/Library/Ruby/Gems/1.8/bundler/gems/rails_admin-508288dfdc24/lib/rails_admin/config.rb:67:in `models'\r\n\t/Library/Ruby/Gems/1.8/bundler/gems/rails_admin-508288dfdc24/lib/rails_admin/config.rb:67:in `map'\r\n\t/Library/Ruby/Gems/1.8/bundler/gems/rails_admin-508288dfdc24/lib/rails_admin/config.rb:67:in `models'\r\n\t/Library/Ruby/Gems/1.8/bundler/gems/rails_admin-508288dfdc24/lib/rails_admin/config.rb:95:in `visible_models'\r\n\t/Library/Ruby/Gems/1.8/bundler/gems/rails_admin-508288dfdc24/app/views/rails_admin/main/_navigation.html.erb:3:in `___ibrary__uby__ems_____bundler_gems_rails_admin_______dfdc___app_views_rails_admin_main__navigation_html_erb___1743824518_2190578620_2143870'\r\n\tactionpack (3.0.6.rc1) lib/action_view/template.rb:135:in `send'\r\n\tactionpack (3.0.6.rc1) lib/action_view/template.rb:135:in `render'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications.rb:54:in `instrument'\r\n\tactionpack (3.0.6.rc1) lib/action_view/template.rb:127:in `render'\r\n\tactionpack (3.0.6.rc1) lib/action_view/render/partials.rb:333:in `render_partial'\r\n\tactionpack (3.0.6.rc1) lib/action_view/render/partials.rb:262:in `render'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications.rb:52:in `instrument'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications.rb:52:in `instrument'\r\n\tactionpack (3.0.6.rc1) lib/action_view/render/partials.rb:260:in `render'\r\n\tactionpack (3.0.6.rc1) lib/action_view/render/partials.rb:378:in `_render_partial'\r\n\tactionpack (3.0.6.rc1) lib/action_view/render/rendering.rb:22:in `render_without_haml'\r\n\thaml (3.0.25) lib/haml/helpers/action_view_mods.rb:13:in `render'\r\n\t/Library/Ruby/Gems/1.8/bundler/gems/rails_admin-508288dfdc24/app/views/layouts/rails_admin/_header.html.erb:13:in `___ibrary__uby__ems_____bundler_gems_rails_admin_______dfdc___app_views_layouts_rails_admin__header_html_erb__169155594_2190609040_527550'\r\n\tactionpack (3.0.6.rc1) lib/action_view/template.rb:135:in `send'\r\n\tactionpack (3.0.6.rc1) lib/action_view/template.rb:135:in `render'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications.rb:54:in `instrument'\r\n\tactionpack (3.0.6.rc1) lib/action_view/template.rb:127:in `render'\r\n\tactionpack (3.0.6.rc1) lib/action_view/render/partials.rb:333:in `render_partial'\r\n\tactionpack (3.0.6.rc1) lib/action_view/render/partials.rb:262:in `render'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications.rb:52:in `instrument'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications.rb:52:in `instrument'\r\n\tactionpack (3.0.6.rc1) lib/action_view/render/partials.rb:260:in `render'\r\n\tactionpack (3.0.6.rc1) lib/action_view/render/partials.rb:378:in `_render_partial'\r\n\tactionpack (3.0.6.rc1) lib/action_view/render/rendering.rb:22:in `render_without_haml'\r\n\thaml (3.0.25) lib/haml/helpers/action_view_mods.rb:13:in `render'\r\n\t/Library/Ruby/Gems/1.8/bundler/gems/rails_admin-508288dfdc24/app/views/layouts/rails_admin/list.html.erb:18:in `___ibrary__uby__ems_____bundler_gems_rails_admin_______dfdc___app_views_layouts_rails_admin_list_html_erb___556108490_2187854440_0'\r\n\tactionpack (3.0.6.rc1) lib/action_view/template.rb:135:in `send'\r\n\tactionpack (3.0.6.rc1) lib/action_view/template.rb:135:in `render'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications.rb:54:in `instrument'\r\n\tactionpack (3.0.6.rc1) lib/action_view/template.rb:127:in `render'\r\n\tactionpack (3.0.6.rc1) lib/action_view/render/layouts.rb:80:in `_render_layout'\r\n\tactionpack (3.0.6.rc1) lib/action_view/render/rendering.rb:62:in `_render_template'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications.rb:52:in `instrument'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications.rb:52:in `instrument'\r\n\tactionpack (3.0.6.rc1) lib/action_view/render/rendering.rb:56:in `_render_template'\r\n\tactionpack (3.0.6.rc1) lib/action_view/render/rendering.rb:26:in `render_without_haml'\r\n\thaml (3.0.25) lib/haml/helpers/action_view_mods.rb:13:in `render'\r\n\tactionpack (3.0.6.rc1) lib/abstract_controller/rendering.rb:115:in `_render_template'\r\n\tactionpack (3.0.6.rc1) lib/abstract_controller/rendering.rb:109:in `render_to_body'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/renderers.rb:47:in `render_to_body'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/compatibility.rb:55:in `render_to_body'\r\n\tactionpack (3.0.6.rc1) lib/abstract_controller/rendering.rb:102:in `render_to_string'\r\n\tactionpack (3.0.6.rc1) lib/abstract_controller/rendering.rb:93:in `render'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/rendering.rb:17:in `render'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/core_ext/benchmark.rb:5:in `ms'\r\n\t/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/core_ext/benchmark.rb:5:in `ms'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'\r\n\tactiverecord (3.0.6.rc1) lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/instrumentation.rb:39:in `render'\r\n\t/Library/Ruby/Gems/1.8/bundler/gems/rails_admin-508288dfdc24/app/controllers/rails_admin/main_controller.rb:39:in `list'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/mime_responds.rb:192:in `call'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/mime_responds.rb:192:in `respond_to'\r\n\t/Library/Ruby/Gems/1.8/bundler/gems/rails_admin-508288dfdc24/app/controllers/rails_admin/main_controller.rb:38:in `list'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/implicit_render.rb:4:in `send_action'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/implicit_render.rb:4:in `send_action'\r\n\tactionpack (3.0.6.rc1) lib/abstract_controller/base.rb:150:in `process_action'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/rendering.rb:11:in `process_action'\r\n\tactionpack (3.0.6.rc1) lib/abstract_controller/callbacks.rb:18:in `process_action'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/callbacks.rb:456:in `_run__1766623449__process_action__743455353__callbacks'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/callbacks.rb:410:in `send'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/callbacks.rb:94:in `send'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/callbacks.rb:94:in `run_callbacks'\r\n\tactionpack (3.0.6.rc1) lib/abstract_controller/callbacks.rb:17:in `process_action'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications.rb:52:in `instrument'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/notifications.rb:52:in `instrument'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/instrumentation.rb:29:in `process_action'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/rescue.rb:17:in `process_action'\r\n\tactionpack (3.0.6.rc1) lib/abstract_controller/base.rb:119:in `process'\r\n\tactionpack (3.0.6.rc1) lib/abstract_controller/rendering.rb:41:in `process'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal.rb:138:in `dispatch'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'\r\n\tactionpack (3.0.6.rc1) lib/action_controller/metal.rb:178:in `action'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/routing/route_set.rb:62:in `call'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/routing/route_set.rb:62:in `dispatch'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/routing/route_set.rb:27:in `call'\r\n\track-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `call'\r\n\track-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `recognize'\r\n\track-mount (0.6.14) lib/rack/mount/code_generation.rb:82:in `optimized_each'\r\n\track-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'\r\n\track-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/routing/route_set.rb:493:in `call'\r\n\thaml (3.0.25) lib/sass/plugin/rack.rb:41:in `call'\r\n\twarden (1.0.3) lib/warden/manager.rb:35:in `call'\r\n\twarden (1.0.3) lib/warden/manager.rb:34:in `catch'\r\n\twarden (1.0.3) lib/warden/manager.rb:34:in `call'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/middleware/head.rb:14:in `call'\r\n\track (1.2.2) lib/rack/methodoverride.rb:24:in `call'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/middleware/params_parser.rb:21:in `call'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/middleware/flash.rb:182:in `call'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/middleware/cookies.rb:302:in `call'\r\n\tactiverecord (3.0.6.rc1) lib/active_record/query_cache.rb:32:in `call'\r\n\tactiverecord (3.0.6.rc1) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'\r\n\tactiverecord (3.0.6.rc1) lib/active_record/query_cache.rb:12:in `cache'\r\n\tactiverecord (3.0.6.rc1) lib/active_record/query_cache.rb:31:in `call'\r\n\tactiverecord (3.0.6.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/middleware/callbacks.rb:46:in `call'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/callbacks.rb:416:in `_run_call_callbacks'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/middleware/callbacks.rb:44:in `call'\r\n\track (1.2.2) lib/rack/sendfile.rb:107:in `call'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'\r\n\trailties (3.0.6.rc1) lib/rails/rack/logger.rb:13:in `call'\r\n\track (1.2.2) lib/rack/runtime.rb:17:in `call'\r\n\tactivesupport (3.0.6.rc1) lib/active_support/cache/strategy/local_cache.rb:72:in `call'\r\n\track (1.2.2) lib/rack/lock.rb:11:in `call'\r\n\track (1.2.2) lib/rack/lock.rb:11:in `synchronize'\r\n\track (1.2.2) lib/rack/lock.rb:11:in `call'\r\n\tactionpack (3.0.6.rc1) lib/action_dispatch/middleware/static.rb:30:in `call'\r\n\trailties (3.0.6.rc1) lib/rails/application.rb:168:in `call'\r\n\trailties (3.0.6.rc1) lib/rails/application.rb:77:in `send'\r\n\trailties (3.0.6.rc1) lib/rails/application.rb:77:in `method_missing'\r\n\trailties (3.0.6.rc1) lib/rails/rack/log_tailer.rb:14:in `call'\r\n\track (1.2.2) lib/rack/content_length.rb:13:in `call'\r\n\track (1.2.2) lib/rack/handler/webrick.rb:52:in `service'\r\n\t/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'\r\n\t/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'\r\n\t/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'\r\n\t/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'\r\n\t/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'\r\n\t/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'\r\n\t/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'\r\n\t/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'\r\n\t/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'\r\n\t/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'\r\n\track (1.2.2) lib/rack/handler/webrick.rb:13:in `run'\r\n\track (1.2.2) lib/rack/server.rb:213:in `start'\r\n\trailties (3.0.6.rc1) lib/rails/commands/server.rb:65:in `start'\r\n\trailties (3.0.6.rc1) lib/rails/commands.rb:30\r\n\trailties (3.0.6.rc1) lib/rails/commands.rb:27:in `tap'\r\n\trailties (3.0.6.rc1) lib/rails/commands.rb:27\r\n\tscript/rails:6:in `require'\r\n\tscript/rails:6\r\n\r\nNote that hiding the models in an initializer doesn't seem to help:\r\n RailsAdmin.config do |config|\r\n config.model Event::ProductAddedEvent do\r\n visible false\r\n end\r\n config.model Event::CollectionCreatedEvent do\r\n visible false\r\n end\r\n config.model Event::FollowingEvent do\r\n visible false\r\n end\r\n config.model Event::FollowedEvent do\r\n visible false\r\n end\r\n config.model Event::CommentAddedEvent do\r\n visible false\r\n end\r\n end",
|
558
|
+
"title": "uninitialized constant Error caused by STI models",
|
559
|
+
"milestone": {
|
560
|
+
"open_issues": 26,
|
561
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/4",
|
562
|
+
"description": "The first gem release",
|
563
|
+
"creator": {
|
564
|
+
"type": "User",
|
565
|
+
"login": "sferik",
|
566
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
567
|
+
"email": "sferik@gmail.com",
|
568
|
+
"html_url": "https://github.com/sferik",
|
569
|
+
"url": "https://api.github.com/users/sferik",
|
570
|
+
"company": "Code for America",
|
571
|
+
"location": "San Francisco",
|
572
|
+
"blog": "http://twitter.com/sferik",
|
573
|
+
"name": "Erik Michaels-Ober",
|
574
|
+
"created_at": "2008-05-14T20:36:12Z"
|
575
|
+
},
|
576
|
+
"number": 4,
|
577
|
+
"due_on": "2011-08-01T07:00:00Z",
|
578
|
+
"created_at": "2011-04-10T02:44:04Z",
|
579
|
+
"state": "open",
|
580
|
+
"title": "0.0",
|
581
|
+
"closed_issues": 4
|
582
|
+
}
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"user": {
|
586
|
+
"type": "User",
|
587
|
+
"login": "wolframarnold",
|
588
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/5a60d6c66b7737ba71cecc4c46fc6fd5?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
589
|
+
"email": "wolfram@rubyfocus.biz",
|
590
|
+
"html_url": "https://github.com/wolframarnold",
|
591
|
+
"url": "https://api.github.com/users/wolframarnold",
|
592
|
+
"company": "http://www.rubyfocus.biz",
|
593
|
+
"location": "San Francisco",
|
594
|
+
"blog": "http://www.rubyfocus.biz",
|
595
|
+
"name": "Wolfram Arnold",
|
596
|
+
"created_at": "2008-12-23T09:14:23Z"
|
597
|
+
},
|
598
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/359",
|
599
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/359",
|
600
|
+
"labels": [
|
601
|
+
{
|
602
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/cleanup",
|
603
|
+
"color": "96e7ff",
|
604
|
+
"name": "cleanup"
|
605
|
+
}
|
606
|
+
],
|
607
|
+
"number": 359,
|
608
|
+
"comments": 2,
|
609
|
+
"assignee": null,
|
610
|
+
"pull_request": {
|
611
|
+
"html_url": null,
|
612
|
+
"diff_url": null,
|
613
|
+
"patch_url": null
|
614
|
+
},
|
615
|
+
"updated_at": "2011-04-10T02:54:52Z",
|
616
|
+
"created_at": "2011-03-29T22:17:12Z",
|
617
|
+
"closed_at": null,
|
618
|
+
"state": "open",
|
619
|
+
"body": "Follow-up on the conversation from: https://github.com/sferik/rails_admin/pull/356\r\n\r\n@sferik Yes, I would be interested in working on a more permanent solution for namespaced models.\r\n\r\nI had a brief look. One idea, in line with Rails conventions, would be to permit namespaced routing, e.g. /:namespace/:model/:id/edit or even /:ns_1/:ns_2/.../:ns_k/:model/:id/edit. This would touch a lot of code, because route generation using the named route methods is scattered throughout and currently accepts the model name parameter.\r\n\r\nAnother problem is that the .to_param method is currently used for multiple different purposes, which are not all compatible when taking namespaces into account. The easiest hack was the ~ but that's clearly not satisfactory.\r\n\r\nI'd love to hear your ideas for alternative approaches. Should we open a new issue for this?\r\n\r\nWolf",
|
620
|
+
"title": "Architecture improvements for full namespaced model support.",
|
621
|
+
"milestone": {
|
622
|
+
"open_issues": 6,
|
623
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/5",
|
624
|
+
"description": "A release for things that don't need to make it into the first release but are still important",
|
625
|
+
"creator": {
|
626
|
+
"type": "User",
|
627
|
+
"login": "sferik",
|
628
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
629
|
+
"email": "sferik@gmail.com",
|
630
|
+
"html_url": "https://github.com/sferik",
|
631
|
+
"url": "https://api.github.com/users/sferik",
|
632
|
+
"company": "Code for America",
|
633
|
+
"location": "San Francisco",
|
634
|
+
"blog": "http://twitter.com/sferik",
|
635
|
+
"name": "Erik Michaels-Ober",
|
636
|
+
"created_at": "2008-05-14T20:36:12Z"
|
637
|
+
},
|
638
|
+
"number": 5,
|
639
|
+
"due_on": "2011-10-01T07:00:00Z",
|
640
|
+
"created_at": "2011-04-10T02:44:58Z",
|
641
|
+
"state": "open",
|
642
|
+
"title": "0.1",
|
643
|
+
"closed_issues": 0
|
644
|
+
}
|
645
|
+
},
|
646
|
+
{
|
647
|
+
"user": {
|
648
|
+
"type": "User",
|
649
|
+
"login": "slbug",
|
650
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/ce5d1a4d26241d16575889a6f1ed4487?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
651
|
+
"email": "",
|
652
|
+
"html_url": "https://github.com/slbug",
|
653
|
+
"url": "https://api.github.com/users/slbug",
|
654
|
+
"company": null,
|
655
|
+
"location": null,
|
656
|
+
"blog": null,
|
657
|
+
"name": "bUg.",
|
658
|
+
"created_at": "2009-07-25T23:22:26Z"
|
659
|
+
},
|
660
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/354",
|
661
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/354",
|
662
|
+
"labels": [
|
663
|
+
{
|
664
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/bug",
|
665
|
+
"color": "ff9c9c",
|
666
|
+
"name": "bug"
|
667
|
+
}
|
668
|
+
],
|
669
|
+
"number": 354,
|
670
|
+
"comments": 5,
|
671
|
+
"assignee": {
|
672
|
+
"type": "User",
|
673
|
+
"login": "caboteria",
|
674
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/e381ef5e90b6ed2bd5082a9a463cea3b?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
675
|
+
"email": null,
|
676
|
+
"html_url": "https://github.com/caboteria",
|
677
|
+
"url": "https://api.github.com/users/caboteria",
|
678
|
+
"company": null,
|
679
|
+
"location": "Massachusetts, USA",
|
680
|
+
"blog": "http://www.caboteria.org/",
|
681
|
+
"name": "toby cabot",
|
682
|
+
"created_at": "2009-05-15T21:51:49Z"
|
683
|
+
},
|
684
|
+
"pull_request": {
|
685
|
+
"html_url": null,
|
686
|
+
"diff_url": null,
|
687
|
+
"patch_url": null
|
688
|
+
},
|
689
|
+
"updated_at": "2011-04-17T17:37:36Z",
|
690
|
+
"created_at": "2011-03-27T04:06:01Z",
|
691
|
+
"closed_at": null,
|
692
|
+
"state": "open",
|
693
|
+
"body": "Kaminari provides helper for rendering pagination (e.g. <%= paginate @users %> ), but rails_admin also have same helper (with differenet params). And helper from rails admin getting called from my views. \r\n\r\nCan you please check it?",
|
694
|
+
"title": "Conflict with Kaminari",
|
695
|
+
"milestone": {
|
696
|
+
"open_issues": 26,
|
697
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/4",
|
698
|
+
"description": "The first gem release",
|
699
|
+
"creator": {
|
700
|
+
"type": "User",
|
701
|
+
"login": "sferik",
|
702
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
703
|
+
"email": "sferik@gmail.com",
|
704
|
+
"html_url": "https://github.com/sferik",
|
705
|
+
"url": "https://api.github.com/users/sferik",
|
706
|
+
"company": "Code for America",
|
707
|
+
"location": "San Francisco",
|
708
|
+
"blog": "http://twitter.com/sferik",
|
709
|
+
"name": "Erik Michaels-Ober",
|
710
|
+
"created_at": "2008-05-14T20:36:12Z"
|
711
|
+
},
|
712
|
+
"number": 4,
|
713
|
+
"due_on": "2011-08-01T07:00:00Z",
|
714
|
+
"created_at": "2011-04-10T02:44:04Z",
|
715
|
+
"state": "open",
|
716
|
+
"title": "0.0",
|
717
|
+
"closed_issues": 4
|
718
|
+
}
|
719
|
+
},
|
720
|
+
{
|
721
|
+
"user": {
|
722
|
+
"type": "User",
|
723
|
+
"login": "slbug",
|
724
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/ce5d1a4d26241d16575889a6f1ed4487?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
725
|
+
"email": "",
|
726
|
+
"html_url": "https://github.com/slbug",
|
727
|
+
"url": "https://api.github.com/users/slbug",
|
728
|
+
"company": null,
|
729
|
+
"location": null,
|
730
|
+
"blog": null,
|
731
|
+
"name": "bUg.",
|
732
|
+
"created_at": "2009-07-25T23:22:26Z"
|
733
|
+
},
|
734
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/353",
|
735
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/353",
|
736
|
+
"labels": [
|
737
|
+
{
|
738
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/bug",
|
739
|
+
"color": "ff9c9c",
|
740
|
+
"name": "bug"
|
741
|
+
}
|
742
|
+
],
|
743
|
+
"number": 353,
|
744
|
+
"comments": 3,
|
745
|
+
"assignee": null,
|
746
|
+
"pull_request": {
|
747
|
+
"html_url": null,
|
748
|
+
"diff_url": null,
|
749
|
+
"patch_url": null
|
750
|
+
},
|
751
|
+
"updated_at": "2011-04-20T18:07:41Z",
|
752
|
+
"created_at": "2011-03-26T15:16:33Z",
|
753
|
+
"closed_at": null,
|
754
|
+
"state": "open",
|
755
|
+
"body": "Right now i have default ordering in some models. And when i trying to edit model with has_many through relations it tries to load records with default scope from another model. \r\n\r\ne.g. i have store, product, offer models. store has_many products through offers. offer has price field and default scope to order by price. when i trying to edit product it produces sql query with error (select products.... joins offers .... order by price...). there is error because price field not included in select clause.",
|
756
|
+
"title": "Please add option to ignore all default_scopes.",
|
757
|
+
"milestone": {
|
758
|
+
"open_issues": 26,
|
759
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/4",
|
760
|
+
"description": "The first gem release",
|
761
|
+
"creator": {
|
762
|
+
"type": "User",
|
763
|
+
"login": "sferik",
|
764
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
765
|
+
"email": "sferik@gmail.com",
|
766
|
+
"html_url": "https://github.com/sferik",
|
767
|
+
"url": "https://api.github.com/users/sferik",
|
768
|
+
"company": "Code for America",
|
769
|
+
"location": "San Francisco",
|
770
|
+
"blog": "http://twitter.com/sferik",
|
771
|
+
"name": "Erik Michaels-Ober",
|
772
|
+
"created_at": "2008-05-14T20:36:12Z"
|
773
|
+
},
|
774
|
+
"number": 4,
|
775
|
+
"due_on": "2011-08-01T07:00:00Z",
|
776
|
+
"created_at": "2011-04-10T02:44:04Z",
|
777
|
+
"state": "open",
|
778
|
+
"title": "0.0",
|
779
|
+
"closed_issues": 4
|
780
|
+
}
|
781
|
+
},
|
782
|
+
{
|
783
|
+
"user": {
|
784
|
+
"type": "User",
|
785
|
+
"login": "sferik",
|
786
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
787
|
+
"email": "sferik@gmail.com",
|
788
|
+
"html_url": "https://github.com/sferik",
|
789
|
+
"url": "https://api.github.com/users/sferik",
|
790
|
+
"company": "Code for America",
|
791
|
+
"location": "San Francisco",
|
792
|
+
"blog": "http://twitter.com/sferik",
|
793
|
+
"name": "Erik Michaels-Ober",
|
794
|
+
"created_at": "2008-05-14T20:36:12Z"
|
795
|
+
},
|
796
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/350",
|
797
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/350",
|
798
|
+
"labels": [
|
799
|
+
{
|
800
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/bug",
|
801
|
+
"color": "ff9c9c",
|
802
|
+
"name": "bug"
|
803
|
+
}
|
804
|
+
],
|
805
|
+
"number": 350,
|
806
|
+
"comments": 1,
|
807
|
+
"assignee": {
|
808
|
+
"type": "User",
|
809
|
+
"login": "hurrycane",
|
810
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/dfa3143343f3680753e0ae09de57bcd6?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
811
|
+
"email": "bogdan@cadmio.org",
|
812
|
+
"html_url": "https://github.com/hurrycane",
|
813
|
+
"url": "https://api.github.com/users/hurrycane",
|
814
|
+
"company": null,
|
815
|
+
"location": "Iasi, Romania",
|
816
|
+
"blog": "http://students.info.uaic.ro/~bogdan.gaza/",
|
817
|
+
"name": "Bogdan Gaza",
|
818
|
+
"created_at": "2008-03-09T19:31:14Z"
|
819
|
+
},
|
820
|
+
"pull_request": {
|
821
|
+
"html_url": null,
|
822
|
+
"diff_url": null,
|
823
|
+
"patch_url": null
|
824
|
+
},
|
825
|
+
"updated_at": "2011-04-16T23:37:11Z",
|
826
|
+
"created_at": "2011-03-25T17:22:05Z",
|
827
|
+
"closed_at": null,
|
828
|
+
"state": "open",
|
829
|
+
"body": "`rails destroy` is the opposite of `rails generate`\n\nWe should have a task that cleans up any assets that may have been installed by rails_admin and adds a migration to drop the `rails_admin_histories` table.",
|
830
|
+
"title": "Easy Uninstall",
|
831
|
+
"milestone": {
|
832
|
+
"open_issues": 26,
|
833
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/4",
|
834
|
+
"description": "The first gem release",
|
835
|
+
"creator": {
|
836
|
+
"type": "User",
|
837
|
+
"login": "sferik",
|
838
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
839
|
+
"email": "sferik@gmail.com",
|
840
|
+
"html_url": "https://github.com/sferik",
|
841
|
+
"url": "https://api.github.com/users/sferik",
|
842
|
+
"company": "Code for America",
|
843
|
+
"location": "San Francisco",
|
844
|
+
"blog": "http://twitter.com/sferik",
|
845
|
+
"name": "Erik Michaels-Ober",
|
846
|
+
"created_at": "2008-05-14T20:36:12Z"
|
847
|
+
},
|
848
|
+
"number": 4,
|
849
|
+
"due_on": "2011-08-01T07:00:00Z",
|
850
|
+
"created_at": "2011-04-10T02:44:04Z",
|
851
|
+
"state": "open",
|
852
|
+
"title": "0.0",
|
853
|
+
"closed_issues": 4
|
854
|
+
}
|
855
|
+
},
|
856
|
+
{
|
857
|
+
"user": {
|
858
|
+
"type": "User",
|
859
|
+
"login": "kristyan",
|
860
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/c4d366fe45c7abc95aaa06e4d3d51545?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
861
|
+
"email": null,
|
862
|
+
"html_url": "https://github.com/kristyan",
|
863
|
+
"url": "https://api.github.com/users/kristyan",
|
864
|
+
"company": "teamer.net",
|
865
|
+
"location": "Dublin ",
|
866
|
+
"blog": "http://teamer.net",
|
867
|
+
"name": "Kristyan Connolly",
|
868
|
+
"created_at": "2010-03-12T14:01:44Z"
|
869
|
+
},
|
870
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/343",
|
871
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/343",
|
872
|
+
"labels": [
|
873
|
+
{
|
874
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/enhancement",
|
875
|
+
"color": "9cf098",
|
876
|
+
"name": "enhancement"
|
877
|
+
}
|
878
|
+
],
|
879
|
+
"number": 343,
|
880
|
+
"comments": 0,
|
881
|
+
"assignee": null,
|
882
|
+
"pull_request": {
|
883
|
+
"html_url": null,
|
884
|
+
"diff_url": null,
|
885
|
+
"patch_url": null
|
886
|
+
},
|
887
|
+
"updated_at": "2011-04-10T02:54:21Z",
|
888
|
+
"created_at": "2011-03-22T14:12:04Z",
|
889
|
+
"closed_at": null,
|
890
|
+
"state": "open",
|
891
|
+
"body": "It would be great if we could override the default search mechanic, to allow for a customized search on a per model bases. For example, one way to do this would be to have a config setting such as \n<pre><code>\nconfig.model Cars do\n search_method :search\nend\n\n</pre></code>\nor globally for all models\n<pre><code>\nRailsAdmin.search_with_method :search \n\n</pre></code>\nThis would mean in the case of the Car model, searches would be performed by calling: \n<pre><code>Car.search query, offset, limit </pre></code>\ndynamically in preference to the default search. This would of course return a list of Car models which would be understood by rails admin and rendered in the search results.\n\nThis would be a very powerful feature as it would allow users to customize searches and potentially use search indexers such as Sphinx/Solr etc.. to perform the actual search in the background. \n\nI would like to hear other any other comments/suggestions ?\n\n\n\n\n",
|
892
|
+
"title": "Ability to override search",
|
893
|
+
"milestone": {
|
894
|
+
"open_issues": 8,
|
895
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/6",
|
896
|
+
"description": "",
|
897
|
+
"creator": {
|
898
|
+
"type": "User",
|
899
|
+
"login": "sferik",
|
900
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
901
|
+
"email": "sferik@gmail.com",
|
902
|
+
"html_url": "https://github.com/sferik",
|
903
|
+
"url": "https://api.github.com/users/sferik",
|
904
|
+
"company": "Code for America",
|
905
|
+
"location": "San Francisco",
|
906
|
+
"blog": "http://twitter.com/sferik",
|
907
|
+
"name": "Erik Michaels-Ober",
|
908
|
+
"created_at": "2008-05-14T20:36:12Z"
|
909
|
+
},
|
910
|
+
"number": 6,
|
911
|
+
"due_on": "2011-12-01T08:00:00Z",
|
912
|
+
"created_at": "2011-04-10T02:45:24Z",
|
913
|
+
"state": "open",
|
914
|
+
"title": "0.2",
|
915
|
+
"closed_issues": 1
|
916
|
+
}
|
917
|
+
},
|
918
|
+
{
|
919
|
+
"user": {
|
920
|
+
"type": "User",
|
921
|
+
"login": "kristyan",
|
922
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/c4d366fe45c7abc95aaa06e4d3d51545?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
923
|
+
"email": null,
|
924
|
+
"html_url": "https://github.com/kristyan",
|
925
|
+
"url": "https://api.github.com/users/kristyan",
|
926
|
+
"company": "teamer.net",
|
927
|
+
"location": "Dublin ",
|
928
|
+
"blog": "http://teamer.net",
|
929
|
+
"name": "Kristyan Connolly",
|
930
|
+
"created_at": "2010-03-12T14:01:44Z"
|
931
|
+
},
|
932
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/342",
|
933
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/342",
|
934
|
+
"labels": [
|
935
|
+
{
|
936
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/enhancement",
|
937
|
+
"color": "9cf098",
|
938
|
+
"name": "enhancement"
|
939
|
+
}
|
940
|
+
],
|
941
|
+
"number": 342,
|
942
|
+
"comments": 1,
|
943
|
+
"assignee": null,
|
944
|
+
"pull_request": {
|
945
|
+
"html_url": "https://github.com/sferik/rails_admin/pull/342",
|
946
|
+
"diff_url": "https://github.com/sferik/rails_admin/pull/342.diff",
|
947
|
+
"patch_url": "https://github.com/sferik/rails_admin/pull/342.patch"
|
948
|
+
},
|
949
|
+
"updated_at": "2011-04-15T18:46:11Z",
|
950
|
+
"created_at": "2011-03-22T12:10:32Z",
|
951
|
+
"closed_at": null,
|
952
|
+
"state": "open",
|
953
|
+
"body": "Hi\r\n\r\nI have changed the field search so that now the user can search over a field by selecting the field from a drop-down menu containing the list of fields (Corresponding to the viewable list that can be set in the config). I removed the field:query based search as I found our users had difficulty remembering field names etc..\r\n\r\nI am not sure if this is a patch that you want, but please take a look. \r\n\r\nNote, if you except this patch you will probably need to remove/change the specs already written for field search. Sorry I don't have the time to update the specs right now.\r\n\r\nKris\r\n\r\n",
|
954
|
+
"title": "Dropdown field search",
|
955
|
+
"milestone": null
|
956
|
+
},
|
957
|
+
{
|
958
|
+
"user": {
|
959
|
+
"type": "User",
|
960
|
+
"login": "lemig",
|
961
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/ed767aa54affe4612de576ccb6341c7f?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
962
|
+
"email": "lemig@hotmail.com",
|
963
|
+
"html_url": "https://github.com/lemig",
|
964
|
+
"url": "https://api.github.com/users/lemig",
|
965
|
+
"company": null,
|
966
|
+
"location": "Brussels",
|
967
|
+
"blog": null,
|
968
|
+
"name": "Miguel Cabero",
|
969
|
+
"created_at": "2009-04-28T13:50:48Z"
|
970
|
+
},
|
971
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/332",
|
972
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/332",
|
973
|
+
"labels": [
|
974
|
+
{
|
975
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/bug",
|
976
|
+
"color": "ff9c9c",
|
977
|
+
"name": "bug"
|
978
|
+
}
|
979
|
+
],
|
980
|
+
"number": 332,
|
981
|
+
"comments": 0,
|
982
|
+
"assignee": null,
|
983
|
+
"pull_request": {
|
984
|
+
"html_url": null,
|
985
|
+
"diff_url": null,
|
986
|
+
"patch_url": null
|
987
|
+
},
|
988
|
+
"updated_at": "2011-04-10T02:55:44Z",
|
989
|
+
"created_at": "2011-03-18T20:04:04Z",
|
990
|
+
"closed_at": null,
|
991
|
+
"state": "open",
|
992
|
+
"body": "From your config doc :\nRailsAdmin.config do |config|\n config.model Team do\n edit do\n group :default do\n hide\n end\n end\n end\nend\n\nThis would hide the \"Basic info\" group which is accessed by the symbol :default. THIS WORKS.\nAssociations' groups can be accessed by the name of the association, such as :fans or :players. THIS DOES NOT SEEM TO WORK\n",
|
993
|
+
"title": "bug Association visibility in edit mode seems broken",
|
994
|
+
"milestone": {
|
995
|
+
"open_issues": 26,
|
996
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/4",
|
997
|
+
"description": "The first gem release",
|
998
|
+
"creator": {
|
999
|
+
"type": "User",
|
1000
|
+
"login": "sferik",
|
1001
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1002
|
+
"email": "sferik@gmail.com",
|
1003
|
+
"html_url": "https://github.com/sferik",
|
1004
|
+
"url": "https://api.github.com/users/sferik",
|
1005
|
+
"company": "Code for America",
|
1006
|
+
"location": "San Francisco",
|
1007
|
+
"blog": "http://twitter.com/sferik",
|
1008
|
+
"name": "Erik Michaels-Ober",
|
1009
|
+
"created_at": "2008-05-14T20:36:12Z"
|
1010
|
+
},
|
1011
|
+
"number": 4,
|
1012
|
+
"due_on": "2011-08-01T07:00:00Z",
|
1013
|
+
"created_at": "2011-04-10T02:44:04Z",
|
1014
|
+
"state": "open",
|
1015
|
+
"title": "0.0",
|
1016
|
+
"closed_issues": 4
|
1017
|
+
}
|
1018
|
+
},
|
1019
|
+
{
|
1020
|
+
"user": {
|
1021
|
+
"type": "User",
|
1022
|
+
"login": "kristyan",
|
1023
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/c4d366fe45c7abc95aaa06e4d3d51545?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1024
|
+
"email": null,
|
1025
|
+
"html_url": "https://github.com/kristyan",
|
1026
|
+
"url": "https://api.github.com/users/kristyan",
|
1027
|
+
"company": "teamer.net",
|
1028
|
+
"location": "Dublin ",
|
1029
|
+
"blog": "http://teamer.net",
|
1030
|
+
"name": "Kristyan Connolly",
|
1031
|
+
"created_at": "2010-03-12T14:01:44Z"
|
1032
|
+
},
|
1033
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/331",
|
1034
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/331",
|
1035
|
+
"labels": [
|
1036
|
+
{
|
1037
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/enhancement",
|
1038
|
+
"color": "9cf098",
|
1039
|
+
"name": "enhancement"
|
1040
|
+
}
|
1041
|
+
],
|
1042
|
+
"number": 331,
|
1043
|
+
"comments": 0,
|
1044
|
+
"assignee": null,
|
1045
|
+
"pull_request": {
|
1046
|
+
"html_url": null,
|
1047
|
+
"diff_url": null,
|
1048
|
+
"patch_url": null
|
1049
|
+
},
|
1050
|
+
"updated_at": "2011-04-10T02:54:20Z",
|
1051
|
+
"created_at": "2011-03-18T14:58:05Z",
|
1052
|
+
"closed_at": null,
|
1053
|
+
"state": "open",
|
1054
|
+
"body": "It would be great if search was improved to allow searching over date fields. ",
|
1055
|
+
"title": "Ability To Search Over Dates",
|
1056
|
+
"milestone": {
|
1057
|
+
"open_issues": 8,
|
1058
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/6",
|
1059
|
+
"description": "",
|
1060
|
+
"creator": {
|
1061
|
+
"type": "User",
|
1062
|
+
"login": "sferik",
|
1063
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1064
|
+
"email": "sferik@gmail.com",
|
1065
|
+
"html_url": "https://github.com/sferik",
|
1066
|
+
"url": "https://api.github.com/users/sferik",
|
1067
|
+
"company": "Code for America",
|
1068
|
+
"location": "San Francisco",
|
1069
|
+
"blog": "http://twitter.com/sferik",
|
1070
|
+
"name": "Erik Michaels-Ober",
|
1071
|
+
"created_at": "2008-05-14T20:36:12Z"
|
1072
|
+
},
|
1073
|
+
"number": 6,
|
1074
|
+
"due_on": "2011-12-01T08:00:00Z",
|
1075
|
+
"created_at": "2011-04-10T02:45:24Z",
|
1076
|
+
"state": "open",
|
1077
|
+
"title": "0.2",
|
1078
|
+
"closed_issues": 1
|
1079
|
+
}
|
1080
|
+
},
|
1081
|
+
{
|
1082
|
+
"user": {
|
1083
|
+
"type": "User",
|
1084
|
+
"login": "snmgian",
|
1085
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/f9e2fd650facaeab7e3a72472941f2af?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1086
|
+
"email": null,
|
1087
|
+
"html_url": "https://github.com/snmgian",
|
1088
|
+
"url": "https://api.github.com/users/snmgian",
|
1089
|
+
"company": "moove-it",
|
1090
|
+
"location": "MVD Uruguay",
|
1091
|
+
"blog": null,
|
1092
|
+
"name": "gian",
|
1093
|
+
"created_at": "2009-04-13T01:27:57Z"
|
1094
|
+
},
|
1095
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/326",
|
1096
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/326",
|
1097
|
+
"labels": [
|
1098
|
+
{
|
1099
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/enhancement",
|
1100
|
+
"color": "9cf098",
|
1101
|
+
"name": "enhancement"
|
1102
|
+
},
|
1103
|
+
{
|
1104
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/extension",
|
1105
|
+
"color": "ca9cff",
|
1106
|
+
"name": "extension"
|
1107
|
+
}
|
1108
|
+
],
|
1109
|
+
"number": 326,
|
1110
|
+
"comments": 4,
|
1111
|
+
"assignee": null,
|
1112
|
+
"pull_request": {
|
1113
|
+
"html_url": "https://github.com/sferik/rails_admin/pull/326",
|
1114
|
+
"diff_url": "https://github.com/sferik/rails_admin/pull/326.diff",
|
1115
|
+
"patch_url": "https://github.com/sferik/rails_admin/pull/326.patch"
|
1116
|
+
},
|
1117
|
+
"updated_at": "2011-03-29T08:07:17Z",
|
1118
|
+
"created_at": "2011-03-17T20:21:37Z",
|
1119
|
+
"closed_at": null,
|
1120
|
+
"state": "open",
|
1121
|
+
"body": "Sometimes a model can't be destroyed with a delete sql statement, it only requires an update on a field named like 'removed' or 'disabled'.\n\n",
|
1122
|
+
"title": "Adding support for custom destroy methods on models",
|
1123
|
+
"milestone": null
|
1124
|
+
},
|
1125
|
+
{
|
1126
|
+
"user": {
|
1127
|
+
"type": "User",
|
1128
|
+
"login": "baldowl",
|
1129
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/4a7070e4dc250fc62726d0de31cc33cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1130
|
+
"email": null,
|
1131
|
+
"html_url": "https://github.com/baldowl",
|
1132
|
+
"url": "https://api.github.com/users/baldowl",
|
1133
|
+
"company": null,
|
1134
|
+
"location": "Italy",
|
1135
|
+
"blog": "http://baldowl.github.com",
|
1136
|
+
"name": "Emanuele Vicentini",
|
1137
|
+
"created_at": "2008-07-08T06:38:10Z"
|
1138
|
+
},
|
1139
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/323",
|
1140
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/323",
|
1141
|
+
"labels": [
|
1142
|
+
{
|
1143
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/bug",
|
1144
|
+
"color": "ff9c9c",
|
1145
|
+
"name": "bug"
|
1146
|
+
},
|
1147
|
+
{
|
1148
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/i18n",
|
1149
|
+
"color": "ffd4bd",
|
1150
|
+
"name": "i18n"
|
1151
|
+
}
|
1152
|
+
],
|
1153
|
+
"number": 323,
|
1154
|
+
"comments": 7,
|
1155
|
+
"assignee": null,
|
1156
|
+
"pull_request": {
|
1157
|
+
"html_url": null,
|
1158
|
+
"diff_url": null,
|
1159
|
+
"patch_url": null
|
1160
|
+
},
|
1161
|
+
"updated_at": "2011-04-10T02:55:44Z",
|
1162
|
+
"created_at": "2011-03-16T07:40:46Z",
|
1163
|
+
"closed_at": null,
|
1164
|
+
"state": "open",
|
1165
|
+
"body": "I've just updated to the current HEAD and localization is gone. Bisecting from c43dabf8956c767562065c397db4095e488ae687 I found that commit d036623ea79f49cdb49a32688b0e0354178b628e seems to be the culprit.\r\n\r\nAnyone else? Maybe I missed some step when updating?",
|
1166
|
+
"title": "Broken localization?",
|
1167
|
+
"milestone": {
|
1168
|
+
"open_issues": 26,
|
1169
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/4",
|
1170
|
+
"description": "The first gem release",
|
1171
|
+
"creator": {
|
1172
|
+
"type": "User",
|
1173
|
+
"login": "sferik",
|
1174
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1175
|
+
"email": "sferik@gmail.com",
|
1176
|
+
"html_url": "https://github.com/sferik",
|
1177
|
+
"url": "https://api.github.com/users/sferik",
|
1178
|
+
"company": "Code for America",
|
1179
|
+
"location": "San Francisco",
|
1180
|
+
"blog": "http://twitter.com/sferik",
|
1181
|
+
"name": "Erik Michaels-Ober",
|
1182
|
+
"created_at": "2008-05-14T20:36:12Z"
|
1183
|
+
},
|
1184
|
+
"number": 4,
|
1185
|
+
"due_on": "2011-08-01T07:00:00Z",
|
1186
|
+
"created_at": "2011-04-10T02:44:04Z",
|
1187
|
+
"state": "open",
|
1188
|
+
"title": "0.0",
|
1189
|
+
"closed_issues": 4
|
1190
|
+
}
|
1191
|
+
},
|
1192
|
+
{
|
1193
|
+
"user": {
|
1194
|
+
"type": "User",
|
1195
|
+
"login": "gunn",
|
1196
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/67c0c5d4a82a8b28405d2fe4f581cc65?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1197
|
+
"email": "arthur@gunn.co.nz",
|
1198
|
+
"html_url": "https://github.com/gunn",
|
1199
|
+
"url": "https://api.github.com/users/gunn",
|
1200
|
+
"company": null,
|
1201
|
+
"location": "Dunedin, New Zealand",
|
1202
|
+
"blog": null,
|
1203
|
+
"name": "Arthur Gunn",
|
1204
|
+
"created_at": "2008-12-24T14:56:57Z"
|
1205
|
+
},
|
1206
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/317",
|
1207
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/317",
|
1208
|
+
"labels": [
|
1209
|
+
{
|
1210
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/enhancement",
|
1211
|
+
"color": "9cf098",
|
1212
|
+
"name": "enhancement"
|
1213
|
+
}
|
1214
|
+
],
|
1215
|
+
"number": 317,
|
1216
|
+
"comments": 20,
|
1217
|
+
"assignee": null,
|
1218
|
+
"pull_request": {
|
1219
|
+
"html_url": null,
|
1220
|
+
"diff_url": null,
|
1221
|
+
"patch_url": null
|
1222
|
+
},
|
1223
|
+
"updated_at": "2011-04-10T02:55:44Z",
|
1224
|
+
"created_at": "2011-03-12T02:45:13Z",
|
1225
|
+
"closed_at": null,
|
1226
|
+
"state": "open",
|
1227
|
+
"body": "I've put up a repo with some mockups at: https://github.com/gunn/rails_admin-prototypes/\r\n\r\nThe idea would be to base this on the current jquery branch, and modify the markup to be consistent with what the [web-app-theme project](https://github.com/pilu/web-app-theme) provides. This would make us compatible with a few nice css / js themes in addition to the one shown in my mockups.\r\n\r\nWhat do people think?",
|
1228
|
+
"title": "Rails Admin should be prettier.",
|
1229
|
+
"milestone": {
|
1230
|
+
"open_issues": 26,
|
1231
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/4",
|
1232
|
+
"description": "The first gem release",
|
1233
|
+
"creator": {
|
1234
|
+
"type": "User",
|
1235
|
+
"login": "sferik",
|
1236
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1237
|
+
"email": "sferik@gmail.com",
|
1238
|
+
"html_url": "https://github.com/sferik",
|
1239
|
+
"url": "https://api.github.com/users/sferik",
|
1240
|
+
"company": "Code for America",
|
1241
|
+
"location": "San Francisco",
|
1242
|
+
"blog": "http://twitter.com/sferik",
|
1243
|
+
"name": "Erik Michaels-Ober",
|
1244
|
+
"created_at": "2008-05-14T20:36:12Z"
|
1245
|
+
},
|
1246
|
+
"number": 4,
|
1247
|
+
"due_on": "2011-08-01T07:00:00Z",
|
1248
|
+
"created_at": "2011-04-10T02:44:04Z",
|
1249
|
+
"state": "open",
|
1250
|
+
"title": "0.0",
|
1251
|
+
"closed_issues": 4
|
1252
|
+
}
|
1253
|
+
},
|
1254
|
+
{
|
1255
|
+
"user": {
|
1256
|
+
"type": "User",
|
1257
|
+
"login": "epdp",
|
1258
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/0cc22d068bb10e47f74bcce06ea93431?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1259
|
+
"email": "tech@elpulgardelpanda.com",
|
1260
|
+
"html_url": "https://github.com/epdp",
|
1261
|
+
"url": "https://api.github.com/users/epdp",
|
1262
|
+
"company": "El pulgar del panda, tecnología web creativa.",
|
1263
|
+
"location": "Barcelona",
|
1264
|
+
"blog": "http://www.elpulgardelpanda.com",
|
1265
|
+
"name": "Rafa de Bofarull",
|
1266
|
+
"created_at": "2008-04-15T04:06:39Z"
|
1267
|
+
},
|
1268
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/314",
|
1269
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/314",
|
1270
|
+
"labels": [
|
1271
|
+
{
|
1272
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/enhancement",
|
1273
|
+
"color": "9cf098",
|
1274
|
+
"name": "enhancement"
|
1275
|
+
}
|
1276
|
+
],
|
1277
|
+
"number": 314,
|
1278
|
+
"comments": 4,
|
1279
|
+
"assignee": null,
|
1280
|
+
"pull_request": {
|
1281
|
+
"html_url": null,
|
1282
|
+
"diff_url": null,
|
1283
|
+
"patch_url": null
|
1284
|
+
},
|
1285
|
+
"updated_at": "2011-04-19T10:45:20Z",
|
1286
|
+
"created_at": "2011-03-11T09:49:15Z",
|
1287
|
+
"closed_at": null,
|
1288
|
+
"state": "open",
|
1289
|
+
"body": "I needed to be able to specify the order of Navigation tabs. I coded this on rails_admin.rb initializer:\n\n # order navigation tabs (0 the last)\n # example:\n # \n # config.model Offer do \n # navigation.order = 10\n # end\n #\n module RailsAdmin\n module Config\n module Sections\n class Navigation\n attr_accessor :order\n @order = 0\n\n def self.visible_models\n RailsAdmin::Config.models.select {|m| m.navigation.visible? }.sort do |a,b|\n a.navigation.order ||= 0\n b.navigation.order ||= 0\n b.navigation.order <=> a.navigation.order\n end\n end\n end\n end\n end\n end\n\nHope it helps someone. Maybe someday this functionality will be aded to rails_admin. It would have to be implemented in some other way, so this code really doesn't help at all, but it works for me in the meanwhile.",
|
1290
|
+
"title": "Navigation tab order",
|
1291
|
+
"milestone": {
|
1292
|
+
"open_issues": 6,
|
1293
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/5",
|
1294
|
+
"description": "A release for things that don't need to make it into the first release but are still important",
|
1295
|
+
"creator": {
|
1296
|
+
"type": "User",
|
1297
|
+
"login": "sferik",
|
1298
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1299
|
+
"email": "sferik@gmail.com",
|
1300
|
+
"html_url": "https://github.com/sferik",
|
1301
|
+
"url": "https://api.github.com/users/sferik",
|
1302
|
+
"company": "Code for America",
|
1303
|
+
"location": "San Francisco",
|
1304
|
+
"blog": "http://twitter.com/sferik",
|
1305
|
+
"name": "Erik Michaels-Ober",
|
1306
|
+
"created_at": "2008-05-14T20:36:12Z"
|
1307
|
+
},
|
1308
|
+
"number": 5,
|
1309
|
+
"due_on": "2011-10-01T07:00:00Z",
|
1310
|
+
"created_at": "2011-04-10T02:44:58Z",
|
1311
|
+
"state": "open",
|
1312
|
+
"title": "0.1",
|
1313
|
+
"closed_issues": 0
|
1314
|
+
}
|
1315
|
+
},
|
1316
|
+
{
|
1317
|
+
"user": {
|
1318
|
+
"type": "User",
|
1319
|
+
"login": "kristyan",
|
1320
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/c4d366fe45c7abc95aaa06e4d3d51545?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1321
|
+
"email": null,
|
1322
|
+
"html_url": "https://github.com/kristyan",
|
1323
|
+
"url": "https://api.github.com/users/kristyan",
|
1324
|
+
"company": "teamer.net",
|
1325
|
+
"location": "Dublin ",
|
1326
|
+
"blog": "http://teamer.net",
|
1327
|
+
"name": "Kristyan Connolly",
|
1328
|
+
"created_at": "2010-03-12T14:01:44Z"
|
1329
|
+
},
|
1330
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/296",
|
1331
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/296",
|
1332
|
+
"labels": [
|
1333
|
+
{
|
1334
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/bug",
|
1335
|
+
"color": "ff9c9c",
|
1336
|
+
"name": "bug"
|
1337
|
+
}
|
1338
|
+
],
|
1339
|
+
"number": 296,
|
1340
|
+
"comments": 0,
|
1341
|
+
"assignee": null,
|
1342
|
+
"pull_request": {
|
1343
|
+
"html_url": null,
|
1344
|
+
"diff_url": null,
|
1345
|
+
"patch_url": null
|
1346
|
+
},
|
1347
|
+
"updated_at": "2011-04-10T02:55:44Z",
|
1348
|
+
"created_at": "2011-02-23T18:17:37Z",
|
1349
|
+
"closed_at": null,
|
1350
|
+
"state": "open",
|
1351
|
+
"body": "There does not appear to be a partial called _file_upload.html.erb to render a file upload field, Is there a reason for this?",
|
1352
|
+
"title": "file_upload field",
|
1353
|
+
"milestone": {
|
1354
|
+
"open_issues": 26,
|
1355
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/4",
|
1356
|
+
"description": "The first gem release",
|
1357
|
+
"creator": {
|
1358
|
+
"type": "User",
|
1359
|
+
"login": "sferik",
|
1360
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1361
|
+
"email": "sferik@gmail.com",
|
1362
|
+
"html_url": "https://github.com/sferik",
|
1363
|
+
"url": "https://api.github.com/users/sferik",
|
1364
|
+
"company": "Code for America",
|
1365
|
+
"location": "San Francisco",
|
1366
|
+
"blog": "http://twitter.com/sferik",
|
1367
|
+
"name": "Erik Michaels-Ober",
|
1368
|
+
"created_at": "2008-05-14T20:36:12Z"
|
1369
|
+
},
|
1370
|
+
"number": 4,
|
1371
|
+
"due_on": "2011-08-01T07:00:00Z",
|
1372
|
+
"created_at": "2011-04-10T02:44:04Z",
|
1373
|
+
"state": "open",
|
1374
|
+
"title": "0.0",
|
1375
|
+
"closed_issues": 4
|
1376
|
+
}
|
1377
|
+
},
|
1378
|
+
{
|
1379
|
+
"user": {
|
1380
|
+
"type": "User",
|
1381
|
+
"login": "alec-c4",
|
1382
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/561f6b93e60563dabb66fb9802d06fa3?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1383
|
+
"email": "alec@alec-c4.com",
|
1384
|
+
"html_url": "https://github.com/alec-c4",
|
1385
|
+
"url": "https://api.github.com/users/alec-c4",
|
1386
|
+
"company": "CyberBerry",
|
1387
|
+
"location": "Moscow, Russia",
|
1388
|
+
"blog": "http://alec-c4.com",
|
1389
|
+
"name": "Alexey Poimtsev",
|
1390
|
+
"created_at": "2008-09-19T07:47:03Z"
|
1391
|
+
},
|
1392
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/291",
|
1393
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/291",
|
1394
|
+
"labels": [
|
1395
|
+
{
|
1396
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/bug",
|
1397
|
+
"color": "ff9c9c",
|
1398
|
+
"name": "bug"
|
1399
|
+
}
|
1400
|
+
],
|
1401
|
+
"number": 291,
|
1402
|
+
"comments": 0,
|
1403
|
+
"assignee": null,
|
1404
|
+
"pull_request": {
|
1405
|
+
"html_url": null,
|
1406
|
+
"diff_url": null,
|
1407
|
+
"patch_url": null
|
1408
|
+
},
|
1409
|
+
"updated_at": "2011-02-21T22:46:48Z",
|
1410
|
+
"created_at": "2011-02-17T20:06:12Z",
|
1411
|
+
"closed_at": null,
|
1412
|
+
"state": "open",
|
1413
|
+
"body": "Hi,\r\nI have overwritten method permission_denied of declarative_authorization in my application_controller with following code\r\n\r\n def permission_denied \r\n render_403 \r\n end \r\n def render_403 \r\n render_error(403) \r\n end \r\n def render_error(status_code) \r\n render :file => \"#{Rails.root}/public/ \r\n #{status_code}.html\", :status => status_code, :layout => false \r\n end \r\n\r\non attempt to access /admin/ url without admin rights everytime i see following error:\r\n\r\n NoMethodError in Rails admin/mainController#index \r\n undefined method `update' for nil:NilClass \r\n\r\nCould you please check you plugin for this issue?",
|
1414
|
+
"title": "permission_denied method causes error",
|
1415
|
+
"milestone": null
|
1416
|
+
},
|
1417
|
+
{
|
1418
|
+
"user": {
|
1419
|
+
"type": "User",
|
1420
|
+
"login": "krisleech",
|
1421
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/57053c3320e9426dda3909868cd46947?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1422
|
+
"email": "",
|
1423
|
+
"html_url": "https://github.com/krisleech",
|
1424
|
+
"url": "https://api.github.com/users/krisleech",
|
1425
|
+
"company": "Interkonect Services UK Limited",
|
1426
|
+
"location": "Nottingham, UK",
|
1427
|
+
"blog": "interkonect.com",
|
1428
|
+
"name": "Kris Leech",
|
1429
|
+
"created_at": "2009-03-23T17:19:15Z"
|
1430
|
+
},
|
1431
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/289",
|
1432
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/289",
|
1433
|
+
"labels": [
|
1434
|
+
{
|
1435
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/bug",
|
1436
|
+
"color": "ff9c9c",
|
1437
|
+
"name": "bug"
|
1438
|
+
}
|
1439
|
+
],
|
1440
|
+
"number": 289,
|
1441
|
+
"comments": 3,
|
1442
|
+
"assignee": null,
|
1443
|
+
"pull_request": {
|
1444
|
+
"html_url": null,
|
1445
|
+
"diff_url": null,
|
1446
|
+
"patch_url": null
|
1447
|
+
},
|
1448
|
+
"updated_at": "2011-04-27T18:30:48Z",
|
1449
|
+
"created_at": "2011-02-16T20:19:12Z",
|
1450
|
+
"closed_at": null,
|
1451
|
+
"state": "open",
|
1452
|
+
"body": "initializers/rails_admin.rb\n\n<pre>\nconfig.model Competition do\nend\n</pre>\n\nthen \n\n<pre>\nrake db:drop\nrake db:create\nrake db:migrate\n</pre>\n\nIn fact any rake task (which loads the environment) whic is run after dropping the database fails. This would appear to be because \"config.model\" needs to call Competition, I assume to get a list of database fields, and because the competitions table does not exist ActiveRecord raises an exception.\n\nThe solution I am using so far is to wrap the config.model block like so:\n\n<pre>\nif defined? Competition\n config.model Competition\n end\nend\n</pre>\n\nRuby 1.9.2\nRails 3.0.3\nrails_admin HEAD\n\n",
|
1453
|
+
"title": "\"config.model\" raises \"table doesn't exist\" exception if database is dropped",
|
1454
|
+
"milestone": {
|
1455
|
+
"open_issues": 26,
|
1456
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/4",
|
1457
|
+
"description": "The first gem release",
|
1458
|
+
"creator": {
|
1459
|
+
"type": "User",
|
1460
|
+
"login": "sferik",
|
1461
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1462
|
+
"email": "sferik@gmail.com",
|
1463
|
+
"html_url": "https://github.com/sferik",
|
1464
|
+
"url": "https://api.github.com/users/sferik",
|
1465
|
+
"company": "Code for America",
|
1466
|
+
"location": "San Francisco",
|
1467
|
+
"blog": "http://twitter.com/sferik",
|
1468
|
+
"name": "Erik Michaels-Ober",
|
1469
|
+
"created_at": "2008-05-14T20:36:12Z"
|
1470
|
+
},
|
1471
|
+
"number": 4,
|
1472
|
+
"due_on": "2011-08-01T07:00:00Z",
|
1473
|
+
"created_at": "2011-04-10T02:44:04Z",
|
1474
|
+
"state": "open",
|
1475
|
+
"title": "0.0",
|
1476
|
+
"closed_issues": 4
|
1477
|
+
}
|
1478
|
+
},
|
1479
|
+
{
|
1480
|
+
"user": {
|
1481
|
+
"type": "User",
|
1482
|
+
"login": "bradphelan",
|
1483
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/53f7def58ca1dfdc13369dfd5e2aaace?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1484
|
+
"email": "bradphelan@xtargets.com",
|
1485
|
+
"html_url": "https://github.com/bradphelan",
|
1486
|
+
"url": "https://api.github.com/users/bradphelan",
|
1487
|
+
"company": "XTargets",
|
1488
|
+
"location": "Austria",
|
1489
|
+
"blog": "xtargets.com",
|
1490
|
+
"name": "Brad Phelan",
|
1491
|
+
"created_at": "2008-07-21T06:42:34Z"
|
1492
|
+
},
|
1493
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/281",
|
1494
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/281",
|
1495
|
+
"labels": [
|
1496
|
+
{
|
1497
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/bug",
|
1498
|
+
"color": "ff9c9c",
|
1499
|
+
"name": "bug"
|
1500
|
+
}
|
1501
|
+
],
|
1502
|
+
"number": 281,
|
1503
|
+
"comments": 0,
|
1504
|
+
"assignee": null,
|
1505
|
+
"pull_request": {
|
1506
|
+
"html_url": null,
|
1507
|
+
"diff_url": null,
|
1508
|
+
"patch_url": null
|
1509
|
+
},
|
1510
|
+
"updated_at": "2011-02-12T07:17:45Z",
|
1511
|
+
"created_at": "2011-02-12T07:17:45Z",
|
1512
|
+
"closed_at": null,
|
1513
|
+
"state": "open",
|
1514
|
+
"body": "This is related to [rails issue](https://rails.lighthouseapp.com/projects/8994/tickets/6217-has_many-through-associations-are-created-with-create-even-if-the-parent-is-created-with-create)\r\n\r\nIf I have a model\r\n\r\n class Course\r\n has_many :registrations\r\n has_many :students, :through => :registrations\r\n end\r\n\r\nand the model \r\n\r\n\r\n class Registration\r\n validate :number_of_courses, :on_create\r\n attr_readonly :student, :course\r\n \r\n def number_of_courses\r\n if student.courses.size >= MAXIMUM_NUMBER_OF_COURSES_PER_STUDENT\r\n false\r\n else\r\n true\r\n end\r\n end\r\n end\r\n\r\nnow within the rails admin UI if I add more than 5 courses to\r\na student instead of getting a nice error message I get a backtrace \r\nerror returned.\r\n\r\nThe reason for this is at\r\n\r\n\r\n ----------------------\r\n /app/controllers/rails_admin/main_controller.rb\r\n ----------------------\r\n 85 if @object.save\r\n 86 AbstractHistory.create_update_history @abstract_model, @object, @cached_assocations_hash, associations_hash, @modified_assoc, @old_object, _current_user\r\n 87 redirect_to_on_success\r\n 88 else\r\n 89 render_error :edit\r\n 90 end\r\n\r\n\r\n@object.save should return false if the validations fail. However as it is one of\r\nthe validations on the associated Registration objects that fail as they are\r\ncreated automagically an exception is thrown where none is expected.\r\n\r\nThis may be a Rails bug but you probably need a work around in railsadmin\r\n\r\nRegards\r\n\r\nBrad\r\n\r\n",
|
1515
|
+
"title": "validation errors on join model in has_many :through => .... causes backtrace",
|
1516
|
+
"milestone": null
|
1517
|
+
},
|
1518
|
+
{
|
1519
|
+
"user": {
|
1520
|
+
"type": "User",
|
1521
|
+
"login": "fellix",
|
1522
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/a70aa5d32b9c30f1f9c94d0ae47093ac?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1523
|
+
"email": "felix.rafael@gmail.com",
|
1524
|
+
"html_url": "https://github.com/fellix",
|
1525
|
+
"url": "https://api.github.com/users/fellix",
|
1526
|
+
"company": "",
|
1527
|
+
"location": "Brasil",
|
1528
|
+
"blog": "http://blog.rollingwithcode.com/",
|
1529
|
+
"name": "Rafael Felix",
|
1530
|
+
"created_at": "2008-10-16T13:22:10Z"
|
1531
|
+
},
|
1532
|
+
"html_url": "https://github.com/sferik/rails_admin/issues/279",
|
1533
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/issues/279",
|
1534
|
+
"labels": [
|
1535
|
+
{
|
1536
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/labels/bug",
|
1537
|
+
"color": "ff9c9c",
|
1538
|
+
"name": "bug"
|
1539
|
+
}
|
1540
|
+
],
|
1541
|
+
"number": 279,
|
1542
|
+
"comments": 10,
|
1543
|
+
"assignee": null,
|
1544
|
+
"pull_request": {
|
1545
|
+
"html_url": null,
|
1546
|
+
"diff_url": null,
|
1547
|
+
"patch_url": null
|
1548
|
+
},
|
1549
|
+
"updated_at": "2011-04-10T02:54:51Z",
|
1550
|
+
"created_at": "2011-02-09T10:15:12Z",
|
1551
|
+
"closed_at": null,
|
1552
|
+
"state": "open",
|
1553
|
+
"body": "I've added the ckeditor to some fields for admim, running at local host it works well but when I deploied the app into heroku, I get an error 'undefined method 'ckeditor''.\r\n\r\nhttps://github.com/fellix/rollingblog/blob/master/config/initializers/rails_admin.rb\r\n\r\nI comment the code below, and the app is running now, I can't use ckeditor at heroku?\r\nAnyone else have the same error?",
|
1554
|
+
"title": "Error deploing at Heroku with ckeditor",
|
1555
|
+
"milestone": {
|
1556
|
+
"open_issues": 6,
|
1557
|
+
"url": "https://api.github.com/repos/sferik/rails_admin/milestones/5",
|
1558
|
+
"description": "A release for things that don't need to make it into the first release but are still important",
|
1559
|
+
"creator": {
|
1560
|
+
"type": "User",
|
1561
|
+
"login": "sferik",
|
1562
|
+
"gravatar_url": "https://secure.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?s=30&d=https://d3nwyuy0nl342s.cloudfront.net%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
1563
|
+
"email": "sferik@gmail.com",
|
1564
|
+
"html_url": "https://github.com/sferik",
|
1565
|
+
"url": "https://api.github.com/users/sferik",
|
1566
|
+
"company": "Code for America",
|
1567
|
+
"location": "San Francisco",
|
1568
|
+
"blog": "http://twitter.com/sferik",
|
1569
|
+
"name": "Erik Michaels-Ober",
|
1570
|
+
"created_at": "2008-05-14T20:36:12Z"
|
1571
|
+
},
|
1572
|
+
"number": 5,
|
1573
|
+
"due_on": "2011-10-01T07:00:00Z",
|
1574
|
+
"created_at": "2011-04-10T02:44:58Z",
|
1575
|
+
"state": "open",
|
1576
|
+
"title": "0.1",
|
1577
|
+
"closed_issues": 0
|
1578
|
+
}
|
1579
|
+
}
|
1580
|
+
]
|