Created
May 3, 2012 21:17
-
-
Save jraczak/2589581 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ArgumentError in Rails_admin/main#index | |
Showing /Volumes/UserData/Users/jraczak/.rvm/gems/ruby-1.9.3-p125@crowdscore/gems/rails_admin-0.0.1/app/views/rails_admin/main/index.html.haml where line #139 raised: | |
wrong number of arguments (2 for 1) | |
Extracted source (around line #139): | |
136: = paginate(@objects, :theme => 'twitter-bootstrap', :remote => true) | |
137: = link_to(t("admin.misc.show_all"), index_path(params.merge(:all => true)), :class => "show-all btn clearfix pjax") unless total_count > 100 || total_count <= @objects.to_a.size | |
138: .clearfix.total-count= "#{total_count} #{@model_config.label_plural.downcase}" | |
139: - else | |
140: .clearfix.total-count= "#{@objects.size} #{@model_config.label_plural.downcase}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment