Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 48 to 48 | ||||||||
Securityhttp://blog.codeclimate.com/blog/2013/03/27/rails-insecure-defaults/ - 13 Security Gotchas You Should Know About \ No newline at end of file | ||||||||
Added: | ||||||||
> > |
TestingI prefer minitest to rspec. https://www.youtube.com/watch?v=ojd1G4gOMdk is a good explanation of the relative complexity of the two packages. | |||||||
\ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 8 to 8 | ||||||||
http://madebydna.com/all/code/2011/06/24/eigenclasses-demystified.html - metaprogramming basics | ||||||||
Changed: | ||||||||
< < | https://www.youtube.com/watch?v=by5fFOBhtPQ - object model intro | |||||||
> > | https://www.youtube.com/watch?v=by5fFOBhtPQ - object model intro http://www.reactive.io/tips/2008/12/21/understanding-ruby-blocks-procs-and-lambdas/ | |||||||
RVM |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 28 to 28 | ||||||||
You want to run Debugger.start as soon as you can (preferably at the top level) so the debugger can capture the full stack frame. | ||||||||
Added: | ||||||||
> > | Tips on debugging memory leaks: http://blog.skylight.io/hunting-for-leaks-in-ruby/ | |||||||
Rails Developmenthttps://github.com/rails/rails/issues - this is the "official" Rails bug tracking system. The Rails "trac" and "lighthouse" sites appear to be obsolete although they have powerful Google-fu |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 7 to 7 | ||||||||
Github's style guide: https://github.com/styleguide/ruby | ||||||||
Changed: | ||||||||
< < | http://madebydna.com/all/code/2011/06/24/eigenclasses-demystified.html - metaprogramming basics | |||||||
> > | http://madebydna.com/all/code/2011/06/24/eigenclasses-demystified.html - metaprogramming basics https://www.youtube.com/watch?v=by5fFOBhtPQ - object model intro | |||||||
RVM |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 29 to 29 | ||||||||
Rails Development | ||||||||
Changed: | ||||||||
< < | https://github.com/rails/rails/issues - this is the "official" Rails bug tracking system. The Rails "trac" and "lighthouse" sites appear to be obsolete although they have powerful Google-fu http://rubyglasses.blogspot.com/2009/07/rails-gotchas-undefined-method-expects.html - you need to install the Mocha gem by handAlso need to install sqlite3 , libsqlite3-dev , and the sqlite3-ruby gem.$ cd activerecord && rake test-sqlite3 | |||||||
> > | https://github.com/rails/rails/issues - this is the "official" Rails bug tracking system. The Rails "trac" and "lighthouse" sites appear to be obsolete although they have powerful Google-fu
Run a single unit test:
$ ruby -I"lib:test" test/test_filename.rb -n test_launch_should_create_a_response_setThe "test_" prefix and underscores need to be added, so this invocation would match a method named "launch should create a response set". | |||||||
Performance |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 6 to 6 | ||||||||
Github's style guide: https://github.com/styleguide/ruby | ||||||||
Added: | ||||||||
> > | http://madebydna.com/all/code/2011/06/24/eigenclasses-demystified.html - metaprogramming basics | |||||||
RVMRVM is a nice tool that manages multiple installations of Ruby, JRuby, gems, etc. It's very useful if you're working on both Ruby and JRuby projects. http://rvm.beginrescueend.com/ |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 26 to 26 | ||||||||
Rails Development | ||||||||
Changed: | ||||||||
< < | https://rails.lighthouseapp.com/projects/8994-ruby-on-rails - this is the "official" Rails bug tracking system. The Rails "trac" site appears to be obsolete although it has powerful Google-fu | |||||||
> > | https://github.com/rails/rails/issues - this is the "official" Rails bug tracking system. The Rails "trac" and "lighthouse" sites appear to be obsolete although they have powerful Google-fu | |||||||
http://rubyglasses.blogspot.com/2009/07/rails-gotchas-undefined-method-expects.html - you need to install the Mocha gem by handAlso need to install sqlite3 , libsqlite3-dev , and the sqlite3-ruby gem.$ cd activerecord && rake test-sqlite3 | ||||||||
Line: 34 to 34 | ||||||||
Performancehttp://meta.discourse.org/t/tuning-ruby-and-rails-for-discourse/4126 \ No newline at end of file | ||||||||
Added: | ||||||||
> > |
Securityhttp://blog.codeclimate.com/blog/2013/03/27/rails-insecure-defaults/ - 13 Security Gotchas You Should Know About |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 30 to 30 | ||||||||
http://rubyglasses.blogspot.com/2009/07/rails-gotchas-undefined-method-expects.html - you need to install the Mocha gem by handAlso need to install sqlite3 , libsqlite3-dev , and the sqlite3-ruby gem.$ cd activerecord && rake test-sqlite3 | ||||||||
Added: | ||||||||
> > |
Performancehttp://meta.discourse.org/t/tuning-ruby-and-rails-for-discourse/4126 | |||||||
\ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Deleted: | ||||||||
< < | RVM is a nice tool that manages multiple installations of Ruby, JRuby, gems, etc. It's very useful if you're working on both Ruby and JRuby projects. http://rvm.beginrescueend.com/ Since RVM compiles each version of ruby locally you need to make sure that you've installed the -dev packages for the features that you want. Readline, for example: libreadline-dev on debian. http://rubyforge.org/tracker/index.php?func=detail&aid=23925&group_id=1900&atid=7436 | |||||||
Citrus is a fun parser generator for Ruby. It lets you mix small bits of Ruby code in with your parser grammar. http://mjijackson.com/citrus/ | ||||||||
Changed: | ||||||||
< < | Invoking a method with a ampersand-parameter: http://blog.jayfields.com/2007/01/ruby-invoking-method-with.html | |||||||
> > | Invoking a method with an ampersand-parameter: http://blog.jayfields.com/2007/01/ruby-invoking-method-with.html | |||||||
Github's style guide: https://github.com/styleguide/ruby
RVM | ||||||||
Changed: | ||||||||
< < | http://rvm.beginrescueend.com/ - RVM is the Ruby Version Manager. It's a nice solution to having multiple versions of Ruby and sets of Ruby gems installed | |||||||
> > | RVM is a nice tool that manages multiple installations of Ruby, JRuby, gems, etc. It's very useful if you're working on both Ruby and JRuby projects. http://rvm.beginrescueend.com/ Since RVM compiles each version of ruby locally you need to make sure that you've installed the -dev packages for the features that you want. Readline, for example: libreadline-dev on debian. http://rubyforge.org/tracker/index.php?func=detail&aid=23925&group_id=1900&atid=7436
When you install RVM, run rvm requirements and install everything it recommends. You'll probably also need libpq-dev (postgresql) and libcurl-dev (curl). | |||||||
Debian - when I used RVM on Debian for the first time, I had to use RVM to install copies of zlib and openssl in RVM's tree. For some reason configure couldn't see the Debian's versions.http://rvm.beginrescueend.com/packages/openssl/ | ||||||||
Line: 30 to 30 | ||||||||
http://rubyglasses.blogspot.com/2009/07/rails-gotchas-undefined-method-expects.html - you need to install the Mocha gem by handAlso need to install sqlite3 , libsqlite3-dev , and the sqlite3-ruby gem.$ cd activerecord && rake test-sqlite3 | ||||||||
Deleted: | ||||||||
< < | http://michalf.me/blog:make-ruby-1-9-default-on-ubuntu-9-10-karmic-koala - HOWTO install Ruby 1.9 as the default on Ubuntu | |||||||
\ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Since RVM compiles each version of ruby locally you need to make sure that you've installed the -dev packages for the features that you want. Readline, for example: libreadline-dev on debian. http://rubyforge.org/tracker/index.php?func=detail&aid=23925&group_id=1900&atid=7436 | ||||||||
Line: 7 to 7 | ||||||||
Invoking a method with a ampersand-parameter: http://blog.jayfields.com/2007/01/ruby-invoking-method-with.html | ||||||||
Added: | ||||||||
> > | Github's style guide: https://github.com/styleguide/ruby | |||||||
RVMhttp://rvm.beginrescueend.com/ - RVM is the Ruby Version Manager. It's a nice solution to having multiple versions of Ruby and sets of Ruby gems installed |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Since RVM compiles each version of ruby locally you need to make sure that you've installed the -dev packages for the features that you want. Readline, for example: libreadline-dev on debian. http://rubyforge.org/tracker/index.php?func=detail&aid=23925&group_id=1900&atid=7436 | ||||||||
Line: 28 to 28 | ||||||||
http://rubyglasses.blogspot.com/2009/07/rails-gotchas-undefined-method-expects.html - you need to install the Mocha gem by handAlso need to install sqlite3 , libsqlite3-dev , and the sqlite3-ruby gem.$ cd activerecord && rake test-sqlite3
\ No newline at end of file | ||||||||
Added: | ||||||||
> > | http://michalf.me/blog:make-ruby-1-9-default-on-ubuntu-9-10-karmic-koala - HOWTO install Ruby 1.9 as the default on Ubuntu | |||||||
\ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Since RVM compiles each version of ruby locally you need to make sure that you've installed the -dev packages for the features that you want. Readline, for example: libreadline-dev on debian. http://rubyforge.org/tracker/index.php?func=detail&aid=23925&group_id=1900&atid=7436 | ||||||||
Line: 11 to 11 | ||||||||
http://rvm.beginrescueend.com/ - RVM is the Ruby Version Manager. It's a nice solution to having multiple versions of Ruby and sets of Ruby gems installed | ||||||||
Added: | ||||||||
> > | Debian - when I used RVM on Debian for the first time, I had to use RVM to install copies of zlib and openssl in RVM's tree. For some reason configure couldn't see the Debian's versions.http://rvm.beginrescueend.com/packages/openssl/ http://rvm.beginrescueend.com/packages/zlib/ | |||||||
Debugginghttp://bashdb.sourceforge.net/ruby-debug.html - ruby debugger user's guide |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Since RVM compiles each version of ruby locally you need to make sure that you've installed the -dev packages for the features that you want. Readline, for example: libreadline-dev on debian. http://rubyforge.org/tracker/index.php?func=detail&aid=23925&group_id=1900&atid=7436 | ||||||||
Line: 7 to 7 | ||||||||
Invoking a method with a ampersand-parameter: http://blog.jayfields.com/2007/01/ruby-invoking-method-with.html | ||||||||
Added: | ||||||||
> > | RVMhttp://rvm.beginrescueend.com/ - RVM is the Ruby Version Manager. It's a nice solution to having multiple versions of Ruby and sets of Ruby gems installed | |||||||
Debugginghttp://bashdb.sourceforge.net/ruby-debug.html - ruby debugger user's guide | ||||||||
Line: 16 to 20 | ||||||||
Rails Development | ||||||||
Changed: | ||||||||
< < | https://rails.lighthouseapp.com/projects/8994-ruby-on-rails - the Rails "trac" site appears to be obsolete although it has powerful Google-fu | |||||||
> > | https://rails.lighthouseapp.com/projects/8994-ruby-on-rails - this is the "official" Rails bug tracking system. The Rails "trac" site appears to be obsolete although it has powerful Google-fu | |||||||
http://rubyglasses.blogspot.com/2009/07/rails-gotchas-undefined-method-expects.html - you need to install the Mocha gem by handAlso need to install sqlite3 , libsqlite3-dev , and the sqlite3-ruby gem.$ cd activerecord && rake test-sqlite3 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | RVM is a nice tool that manages multiple installations of Ruby, JRuby, gems, etc. It's very useful if you're working on both Ruby and JRuby projects. http://rvm.beginrescueend.com/ | |||||||
> > | RVM is a nice tool that manages multiple installations of Ruby, JRuby, gems, etc. It's very useful if you're working on both Ruby and JRuby projects. http://rvm.beginrescueend.com/ Since RVM compiles each version of ruby locally you need to make sure that you've installed the -dev packages for the features that you want. Readline, for example: libreadline-dev on debian. http://rubyforge.org/tracker/index.php?func=detail&aid=23925&group_id=1900&atid=7436 | |||||||
Citrus is a fun parser generator for Ruby. It lets you mix small bits of Ruby code in with your parser grammar. http://mjijackson.com/citrus/ | ||||||||
Line: 8 to 9 | ||||||||
Debugging | ||||||||
Changed: | ||||||||
< < | http://bashdb.sourceforge.net/ruby-debug.html | |||||||
> > | http://bashdb.sourceforge.net/ruby-debug.html - ruby debugger user's guide http://rubyforge.org/projects/ruby-debug/ - ruby debugger project page | |||||||
You want to run Debugger.start as soon as you can (preferably at the top level) so the debugger can capture the full stack frame. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 11 to 11 | ||||||||
http://bashdb.sourceforge.net/ruby-debug.html
You want to run Debugger.start as soon as you can (preferably at the top level) so the debugger can capture the full stack frame.
\ No newline at end of file | ||||||||
Added: | ||||||||
> > |
Rails Developmenthttps://rails.lighthouseapp.com/projects/8994-ruby-on-rails - the Rails "trac" site appears to be obsolete although it has powerful Google-fuhttp://rubyglasses.blogspot.com/2009/07/rails-gotchas-undefined-method-expects.html - you need to install the Mocha gem by handAlso need to install sqlite3 , libsqlite3-dev , and the sqlite3-ruby gem.$ cd activerecord && rake test-sqlite3 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Added: | ||||||||
> > |
Debugginghttp://bashdb.sourceforge.net/ruby-debug.html You want to runDebugger.start as soon as you can (preferably at the top level) so the debugger can capture the full stack frame. | |||||||
\ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Added: | ||||||||
> > | Invoking a method with a ampersand-parameter: http://blog.jayfields.com/2007/01/ruby-invoking-method-with.html | |||||||
\ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
|