Sha256: 46ab3f9f1048ffa4ef74353f20793e73b788cd51e6e63fabd48e84c3b4e1ee2e

Contents?: true

Size: 779 Bytes

Versions: 23

Compression:

Stored size: 779 Bytes

Contents

<h1>Rails DB - Dummy App</h1>

<p><%= link_to 'Rails DB Console ->', '/rails/db' %></p>

<h2>Data Table</h2>

<h3>Table</h3>

<%= rails_db_data_table 'accounts', footer: false,
                                    columns: ['id', 'name', 'users_count'],
                                    header: true,
                                    limit: 10,
                                    order_by: :users_count,
                                    order: :desc %>

<h3>SQL</h3>

<%= rails_db_data_table_sql 'select id, name, age from users order by age desc limit 10',
                            footer: false,
                            header: true %>

<h3>Stats</h3>

<p>Users: <%= User.count %></p>
<p>Customer: <%= Customer.count %></p>
<p>Account: <%= Account.count %></p>

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
rails_db-2.4.5 test/dummy/app/views/home/index.html.erb
rails_db-2.4.4 test/dummy/app/views/home/index.html.erb
rails_db-2.4.3 test/dummy/app/views/home/index.html.erb
rails_db-2.4.2 test/dummy/app/views/home/index.html.erb
rails_db-2.4.1 test/dummy/app/views/home/index.html.erb
rails_db-2.4.0 test/dummy/app/views/home/index.html.erb
rails_db-2.3.1 test/dummy/app/views/home/index.html.erb
rails_db-2.3.0 test/dummy/app/views/home/index.html.erb
rails_db-2.2.1 test/dummy/app/views/home/index.html.erb
rails_db-2.2.0 test/dummy/app/views/home/index.html.erb
rails_db-2.1.1 test/dummy/app/views/home/index.html.erb
rails_db-2.1.0 test/dummy/app/views/home/index.html.erb
rails_db-2.0.6 test/dummy/app/views/home/index.html.erb
rails_db-2.0.5 test/dummy/app/views/home/index.html.erb
rails_db-2.0.4 test/dummy/app/views/home/index.html.erb
xplore-0.0.1.alpha test/dummy/app/views/home/index.html.erb
rails_db-2.0.3 test/dummy/app/views/home/index.html.erb
rails_db-2.0.2 test/dummy/app/views/home/index.html.erb
rails_db-2.0.1 test/dummy/app/views/home/index.html.erb
rails_db-2.0.0 test/dummy/app/views/home/index.html.erb