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.
- Host: GitHub
- URL: https://github.com/liukun-lk/recipe
- Owner: liukun-lk
- License: mit
- Created: 2017-06-28T15:04:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-12T15:39:52.000Z (about 8 years ago)
- Last Synced: 2025-02-25T00:36:27.817Z (over 1 year ago)
- Topics: rails, ruby
- Language: Ruby
- Homepage:
- Size: 96.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)