An open API service indexing awesome lists of open source software.

https://github.com/liukun-lk/recipe

Add some recipes of Ruby and Rails.
https://github.com/liukun-lk/recipe

rails ruby

Last synced: about 2 months ago
JSON representation

Add some recipes of Ruby and Rails.

Awesome Lists containing this project

README

          

# recipe

### benchmark_block.rb
[Passing Blocks in Ruby Without &block](http://mudge.name/2011/01/26/passing-blocks-in-ruby-without-block.html)

### configuration.rb
```ruby
YourProjectNamespace.configure do |config|
config.you_want_to_init = 'you can config a new value'
end
```

### multi_routes.rb
[use ActiveSupport::FileUpdateChecker for tracking changes in config/routes directory](https://gist.github.com/dhh/2492118#gistcomment-1189847)
[Watching Files During Rails Development](http://rmosolgo.github.io/blog/2017/04/12/watching-files-during-rails-development/) ---> It will be used in Rails 5.x.

### define_class.rb
[Ruby China: 缺失的 define_class](https://ruby-china.org/topics/17382)