All Projects → fnando → Rails Routes

fnando / Rails Routes

Licence: mit
Enable config/routes/*.rb on your Rails application.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Rails Routes

Procourse Memberships
Allow users to purchase access to a user group on Discourse.
Stars: ✭ 16 (-33.33%)
Mutual labels:  rails
Rails5 application template
Rails Application Template
Stars: ✭ 17 (-29.17%)
Mutual labels:  rails
Partially useful
📑 👀 Helps identifying partials in verbose HTML source code.
Stars: ✭ 23 (-4.17%)
Mutual labels:  rails
Vagrant Rails Dev
my vagrant rails development box
Stars: ✭ 16 (-33.33%)
Mutual labels:  rails
Leaky Gems
A list of Ruby gems that have known memory leaks (and issues)
Stars: ✭ 895 (+3629.17%)
Mutual labels:  rails
Libraries.io
📚 The Open Source Discovery Service
Stars: ✭ 903 (+3662.5%)
Mutual labels:  rails
Ordinalize full
Turns a number into an ordinal string such as first, second, third or 1st, 2nd, 3rd.
Stars: ✭ 6 (-75%)
Mutual labels:  rails
Best Practices Badge
🏆Core Infrastructure Initiative Best Practices Badge
Stars: ✭ 928 (+3766.67%)
Mutual labels:  rails
Administrate Field Ckeditor
A plugin for adding CKEditor support to Administrate
Stars: ✭ 17 (-29.17%)
Mutual labels:  rails
Foundation Datetimepicker Rails
foundation-datetimepicker-rails
Stars: ✭ 22 (-8.33%)
Mutual labels:  rails
Phoenix routes js
Phoenix routes helpers in JavaScript code.
Stars: ✭ 17 (-29.17%)
Mutual labels:  routes
Decidim
The participatory democracy framework. A generator and multiple gems made with Ruby on Rails
Stars: ✭ 894 (+3625%)
Mutual labels:  rails
Redis Rails
Redis stores for Ruby on Rails
Stars: ✭ 904 (+3666.67%)
Mutual labels:  rails
Capybara error intel
🐛 Ruby gem for heuristic error messages in Capybara based Page Objects
Stars: ✭ 16 (-33.33%)
Mutual labels:  rails
Datagrid
Gem to create tables grids with sortable columns and filters
Stars: ✭ 921 (+3737.5%)
Mutual labels:  rails
Bh
Bootstrap Helpers for Ruby
Stars: ✭ 834 (+3375%)
Mutual labels:  rails
Api schema
DSL for describing APIs and generate swagger json
Stars: ✭ 18 (-25%)
Mutual labels:  rails
Rails5 Api Starter
RESTful API Starter Kit based on Rails 5
Stars: ✭ 24 (+0%)
Mutual labels:  rails
Milog
Milog 是一基于 Ruby on Rails 的个人博客网站
Stars: ✭ 24 (+0%)
Mutual labels:  rails
Rails Api And Angularjs
Integration between rails and angularjs which includes rspec tests.
Stars: ✭ 22 (-8.33%)
Mutual labels:  rails

Rails::Routes

Travis-CI Code Climate Test Coverage Gem Gem

Too many routes on your Rails app? Me too! This gem allows you to separate your routes on different files. Just create them at config/routes/*.rb and you're good to go.

Installation

Add this line to your application's Gemfile:

gem 'rails-routes'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rails-routes

Usage

After adding this gem to your project, you can create multiple route files inside config/routes. Just make sure you wrap your routes with

# config/routes/v1.rb
Rails.application.routes.draw do
  namespace :v1 do
    resources :things
  end
end

# config/routes/v2.rb
Rails.application.routes.draw do
  namespace :v2 do
    resources :things
  end
end

The routes will be reloaded in development; if you create or remove files, you have to restart your server.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To 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.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/fnando/rails-routes. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].