├── .gitignore ├── MIT-LICENSE ├── README.md ├── Rakefile ├── TODO.textile ├── init.rb ├── lib ├── sortable_table.rb └── sortable_table │ └── app │ ├── controllers │ └── application_controller.rb │ └── helpers │ └── application_helper.rb ├── notes.rb ├── rails └── init.rb ├── shoulda_macros └── sortable_table.rb ├── sortable_table.gemspec └── test └── rails_root ├── Rakefile ├── app ├── controllers │ ├── admin │ │ └── users_controller.rb │ ├── application.rb │ └── users_controller.rb ├── helpers │ ├── application_helper.rb │ └── users_helper.rb ├── models │ ├── group.rb │ └── user.rb └── views │ ├── admin │ └── users │ │ └── index.html.erb │ ├── layouts │ └── users.html.erb │ └── users │ ├── index.html.erb │ ├── members.html.erb │ └── show.html.erb ├── config ├── boot.rb ├── database.yml ├── environment.rb ├── environments │ ├── development.rb │ └── test.rb ├── initializers │ ├── new_rails_defaults.rb │ └── sortable_table.rb └── routes.rb ├── db ├── development.sqlite3 ├── migrate │ ├── 20080819225020_create_users.rb │ ├── 20081229222312_create_groups.rb │ └── 20081229222354_user_belongs_to_group.rb ├── production.sqlite3 ├── schema.rb └── test.sqlite3 ├── log ├── development.log ├── production.log └── server.log ├── public ├── 404.html ├── 422.html ├── 500.html ├── dispatch.cgi ├── dispatch.fcgi ├── dispatch.rb ├── favicon.ico ├── images │ ├── rails.png │ ├── sort-ascending-arrow.gif │ └── sort-descending-arrow.gif ├── index.html ├── javascripts │ ├── application.js │ ├── controls.js │ ├── dragdrop.js │ ├── effects.js │ └── prototype.js ├── robots.txt └── stylesheets │ ├── scaffold.css │ └── sortable.css ├── script ├── about ├── console ├── dbconsole ├── destroy ├── generate ├── performance │ ├── benchmarker │ ├── profiler │ └── request ├── plugin ├── process │ ├── inspector │ ├── reaper │ └── spawner ├── runner └── server ├── test ├── factories │ └── user_factory.rb ├── fail_macros.rb ├── functional │ ├── admin │ │ └── users_controller_test.rb │ └── users_controller_test.rb ├── helper_testcase.rb ├── shoulda_macros.rb ├── test_helper.rb └── unit │ ├── group_test.rb │ ├── helpers │ └── application_helper_test.rb │ └── user_test.rb └── vendor └── plugins └── helper_test ├── MIT-LICENSE ├── README ├── about.yml └── generators └── helper_test ├── helper_test_generator.rb └── templates ├── helper_test.rb └── helper_testcase.rb /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | .swo 3 | .DS_Store 4 | *~ 5 | *.log 6 | -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/MIT-LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/Rakefile -------------------------------------------------------------------------------- /TODO.textile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/TODO.textile -------------------------------------------------------------------------------- /init.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/init.rb -------------------------------------------------------------------------------- /lib/sortable_table.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/lib/sortable_table.rb -------------------------------------------------------------------------------- /lib/sortable_table/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/lib/sortable_table/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /lib/sortable_table/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/lib/sortable_table/app/helpers/application_helper.rb -------------------------------------------------------------------------------- /notes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/notes.rb -------------------------------------------------------------------------------- /rails/init.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/rails/init.rb -------------------------------------------------------------------------------- /shoulda_macros/sortable_table.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/shoulda_macros/sortable_table.rb -------------------------------------------------------------------------------- /sortable_table.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/sortable_table.gemspec -------------------------------------------------------------------------------- /test/rails_root/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/Rakefile -------------------------------------------------------------------------------- /test/rails_root/app/controllers/admin/users_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/app/controllers/admin/users_controller.rb -------------------------------------------------------------------------------- /test/rails_root/app/controllers/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/app/controllers/application.rb -------------------------------------------------------------------------------- /test/rails_root/app/controllers/users_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/app/controllers/users_controller.rb -------------------------------------------------------------------------------- /test/rails_root/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/app/helpers/application_helper.rb -------------------------------------------------------------------------------- /test/rails_root/app/helpers/users_helper.rb: -------------------------------------------------------------------------------- 1 | module UsersHelper 2 | end 3 | -------------------------------------------------------------------------------- /test/rails_root/app/models/group.rb: -------------------------------------------------------------------------------- 1 | class Group < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /test/rails_root/app/models/user.rb: -------------------------------------------------------------------------------- 1 | class User < ActiveRecord::Base 2 | belongs_to :group 3 | end 4 | -------------------------------------------------------------------------------- /test/rails_root/app/views/admin/users/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/app/views/admin/users/index.html.erb -------------------------------------------------------------------------------- /test/rails_root/app/views/layouts/users.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/app/views/layouts/users.html.erb -------------------------------------------------------------------------------- /test/rails_root/app/views/users/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/app/views/users/index.html.erb -------------------------------------------------------------------------------- /test/rails_root/app/views/users/members.html.erb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/rails_root/app/views/users/show.html.erb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/rails_root/config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/config/boot.rb -------------------------------------------------------------------------------- /test/rails_root/config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/config/database.yml -------------------------------------------------------------------------------- /test/rails_root/config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/config/environment.rb -------------------------------------------------------------------------------- /test/rails_root/config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/config/environments/development.rb -------------------------------------------------------------------------------- /test/rails_root/config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/config/environments/test.rb -------------------------------------------------------------------------------- /test/rails_root/config/initializers/new_rails_defaults.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/config/initializers/new_rails_defaults.rb -------------------------------------------------------------------------------- /test/rails_root/config/initializers/sortable_table.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/config/initializers/sortable_table.rb -------------------------------------------------------------------------------- /test/rails_root/config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/config/routes.rb -------------------------------------------------------------------------------- /test/rails_root/db/development.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/db/development.sqlite3 -------------------------------------------------------------------------------- /test/rails_root/db/migrate/20080819225020_create_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/db/migrate/20080819225020_create_users.rb -------------------------------------------------------------------------------- /test/rails_root/db/migrate/20081229222312_create_groups.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/db/migrate/20081229222312_create_groups.rb -------------------------------------------------------------------------------- /test/rails_root/db/migrate/20081229222354_user_belongs_to_group.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/db/migrate/20081229222354_user_belongs_to_group.rb -------------------------------------------------------------------------------- /test/rails_root/db/production.sqlite3: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/rails_root/db/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/db/schema.rb -------------------------------------------------------------------------------- /test/rails_root/db/test.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/db/test.sqlite3 -------------------------------------------------------------------------------- /test/rails_root/log/development.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/log/development.log -------------------------------------------------------------------------------- /test/rails_root/log/production.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/rails_root/log/server.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/rails_root/public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/404.html -------------------------------------------------------------------------------- /test/rails_root/public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/422.html -------------------------------------------------------------------------------- /test/rails_root/public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/500.html -------------------------------------------------------------------------------- /test/rails_root/public/dispatch.cgi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/dispatch.cgi -------------------------------------------------------------------------------- /test/rails_root/public/dispatch.fcgi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/dispatch.fcgi -------------------------------------------------------------------------------- /test/rails_root/public/dispatch.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/dispatch.rb -------------------------------------------------------------------------------- /test/rails_root/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/rails_root/public/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/images/rails.png -------------------------------------------------------------------------------- /test/rails_root/public/images/sort-ascending-arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/images/sort-ascending-arrow.gif -------------------------------------------------------------------------------- /test/rails_root/public/images/sort-descending-arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/images/sort-descending-arrow.gif -------------------------------------------------------------------------------- /test/rails_root/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/index.html -------------------------------------------------------------------------------- /test/rails_root/public/javascripts/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/javascripts/application.js -------------------------------------------------------------------------------- /test/rails_root/public/javascripts/controls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/javascripts/controls.js -------------------------------------------------------------------------------- /test/rails_root/public/javascripts/dragdrop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/javascripts/dragdrop.js -------------------------------------------------------------------------------- /test/rails_root/public/javascripts/effects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/javascripts/effects.js -------------------------------------------------------------------------------- /test/rails_root/public/javascripts/prototype.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/javascripts/prototype.js -------------------------------------------------------------------------------- /test/rails_root/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/robots.txt -------------------------------------------------------------------------------- /test/rails_root/public/stylesheets/scaffold.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/stylesheets/scaffold.css -------------------------------------------------------------------------------- /test/rails_root/public/stylesheets/sortable.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/public/stylesheets/sortable.css -------------------------------------------------------------------------------- /test/rails_root/script/about: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/script/about -------------------------------------------------------------------------------- /test/rails_root/script/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/script/console -------------------------------------------------------------------------------- /test/rails_root/script/dbconsole: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/script/dbconsole -------------------------------------------------------------------------------- /test/rails_root/script/destroy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/script/destroy -------------------------------------------------------------------------------- /test/rails_root/script/generate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/script/generate -------------------------------------------------------------------------------- /test/rails_root/script/performance/benchmarker: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/script/performance/benchmarker -------------------------------------------------------------------------------- /test/rails_root/script/performance/profiler: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/script/performance/profiler -------------------------------------------------------------------------------- /test/rails_root/script/performance/request: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/script/performance/request -------------------------------------------------------------------------------- /test/rails_root/script/plugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/script/plugin -------------------------------------------------------------------------------- /test/rails_root/script/process/inspector: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/script/process/inspector -------------------------------------------------------------------------------- /test/rails_root/script/process/reaper: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/script/process/reaper -------------------------------------------------------------------------------- /test/rails_root/script/process/spawner: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/script/process/spawner -------------------------------------------------------------------------------- /test/rails_root/script/runner: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/script/runner -------------------------------------------------------------------------------- /test/rails_root/script/server: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/script/server -------------------------------------------------------------------------------- /test/rails_root/test/factories/user_factory.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/test/factories/user_factory.rb -------------------------------------------------------------------------------- /test/rails_root/test/fail_macros.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/test/fail_macros.rb -------------------------------------------------------------------------------- /test/rails_root/test/functional/admin/users_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/test/functional/admin/users_controller_test.rb -------------------------------------------------------------------------------- /test/rails_root/test/functional/users_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/test/functional/users_controller_test.rb -------------------------------------------------------------------------------- /test/rails_root/test/helper_testcase.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/test/helper_testcase.rb -------------------------------------------------------------------------------- /test/rails_root/test/shoulda_macros.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/test/shoulda_macros.rb -------------------------------------------------------------------------------- /test/rails_root/test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/test/test_helper.rb -------------------------------------------------------------------------------- /test/rails_root/test/unit/group_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/test/unit/group_test.rb -------------------------------------------------------------------------------- /test/rails_root/test/unit/helpers/application_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/test/unit/helpers/application_helper_test.rb -------------------------------------------------------------------------------- /test/rails_root/test/unit/user_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/test/unit/user_test.rb -------------------------------------------------------------------------------- /test/rails_root/vendor/plugins/helper_test/MIT-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/vendor/plugins/helper_test/MIT-LICENSE -------------------------------------------------------------------------------- /test/rails_root/vendor/plugins/helper_test/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/vendor/plugins/helper_test/README -------------------------------------------------------------------------------- /test/rails_root/vendor/plugins/helper_test/about.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/vendor/plugins/helper_test/about.yml -------------------------------------------------------------------------------- /test/rails_root/vendor/plugins/helper_test/generators/helper_test/helper_test_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/vendor/plugins/helper_test/generators/helper_test/helper_test_generator.rb -------------------------------------------------------------------------------- /test/rails_root/vendor/plugins/helper_test/generators/helper_test/templates/helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/vendor/plugins/helper_test/generators/helper_test/templates/helper_test.rb -------------------------------------------------------------------------------- /test/rails_root/vendor/plugins/helper_test/generators/helper_test/templates/helper_testcase.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thoughtbot/sortable_table/HEAD/test/rails_root/vendor/plugins/helper_test/generators/helper_test/templates/helper_testcase.rb --------------------------------------------------------------------------------