{"id":16679673,"url":"https://github.com/buren/action_table","last_synced_at":"2025-04-09T22:32:39.067Z","repository":{"id":62552724,"uuid":"143356821","full_name":"buren/action_table","owner":"buren","description":"Render ActiveRecord objects as HTML tables with one line of Ruby.","archived":false,"fork":false,"pushed_at":"2021-11-29T11:51:26.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T00:26:31.000Z","etag":null,"topics":["actionview","rails","rubygems"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buren.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-03T00:10:52.000Z","updated_at":"2018-08-16T21:23:58.000Z","dependencies_parsed_at":"2022-11-03T04:15:29.177Z","dependency_job_id":null,"html_url":"https://github.com/buren/action_table","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buren%2Faction_table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buren%2Faction_table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buren%2Faction_table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buren%2Faction_table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buren","download_url":"https://codeload.github.com/buren/action_table/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247867363,"owners_count":21009240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actionview","rails","rubygems"],"created_at":"2024-10-12T13:36:48.387Z","updated_at":"2025-04-09T22:32:39.030Z","avatar_url":"https://github.com/buren.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ActionTable\n\nRender ActiveRecord objects as HTML tables with one line of Ruby - supports some simple configuration options.\n\n:warning: Only works with Ruby on Rails.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'action_table'\n```\n\nAnd then execute:\n```\n$ bundle\n```\n\nOr install it yourself as:\n```\n$ gem install action_table\n```\n\n## Usage\n\nGenerate table with `name` and `created_at` columns.\n```\n\u003c%= action_table User.all, %i[name created_at] %\u003e\n```\n\nAdd bootstrap classes to table\n```\n\u003c%= action_table User.all, %i[name created_at], styles: %i[hover striped] %\u003e\n```\n\nConfigure the default styles\n```ruby\nActionTable.configure do |config|\n  config.table_styles = %i[striped bordered]\nend\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/buren/action_table.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburen%2Faction_table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburen%2Faction_table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburen%2Faction_table/lists"}