Difference: RubyNotes (1 vs. 18)

Revision 1827 Nov 2015 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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: 48 to 48
 

Security

http://blog.codeclimate.com/blog/2013/03/27/rails-insecure-defaults/ - 13 Security Gotchas You Should Know About \ No newline at end of file

Added:
>
>

Testing

I 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

Revision 1723 Jan 2015 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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 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

Revision 1609 Nov 2014 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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: 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 Development

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

Revision 1513 Aug 2014 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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: 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

Revision 1405 Sep 2013 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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: 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 hand
Also 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_set
The "test_" prefix and underscores need to be added, so this invocation would match a method named "launch should create a response set".
 

Performance

Revision 1326 Jul 2013 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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: 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
 

RVM

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/

Revision 1231 Mar 2013 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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: 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 hand
Also need to install sqlite3, libsqlite3-dev, and the sqlite3-ruby gem.
$ cd activerecord && rake test-sqlite3
Line: 34 to 34
 

Performance

http://meta.discourse.org/t/tuning-ruby-and-rails-for-discourse/4126 \ No newline at end of file

Added:
>
>

Security

http://blog.codeclimate.com/blog/2013/03/27/rails-insecure-defaults/ - 13 Security Gotchas You Should Know About

Revision 1122 Mar 2013 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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: 30 to 30
 http://rubyglasses.blogspot.com/2009/07/rails-gotchas-undefined-method-expects.html - you need to install the Mocha gem by hand
Also need to install sqlite3, libsqlite3-dev, and the sqlite3-ruby gem.
$ cd activerecord && rake test-sqlite3
Added:
>
>

Performance

http://meta.discourse.org/t/tuning-ruby-and-rails-for-discourse/4126

 \ No newline at end of file

Revision 1003 Mar 2013 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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 hand
Also 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

Revision 921 Mar 2012 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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
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
 

RVM

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

Revision 801 Dec 2010 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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
Line: 28 to 28
 http://rubyglasses.blogspot.com/2009/07/rails-gotchas-undefined-method-expects.html - you need to install the Mocha gem by hand
Also 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

Revision 719 Nov 2010 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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
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/
 

Debugging

http://bashdb.sourceforge.net/ruby-debug.html - ruby debugger user's guide

Revision 620 Oct 2010 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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
Line: 7 to 7
  Invoking a method with a ampersand-parameter: http://blog.jayfields.com/2007/01/ruby-invoking-method-with.html
Added:
>
>

RVM

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

 

Debugging

http://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 hand
Also need to install sqlite3, libsqlite3-dev, and the sqlite3-ruby gem.
$ cd activerecord && rake test-sqlite3

Revision 528 Sep 2010 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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.

Revision 427 Sep 2010 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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/
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 Development

https://rails.lighthouseapp.com/projects/8994-ruby-on-rails - 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 hand
Also need to install sqlite3, libsqlite3-dev, and the sqlite3-ruby gem.
$ cd activerecord && rake test-sqlite3

Revision 327 Sep 2010 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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/

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/

Invoking a method with a ampersand-parameter: http://blog.jayfields.com/2007/01/ruby-invoking-method-with.html \ No newline at end of file

Added:
>
>

Debugging

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

Revision 215 Sep 2010 - TobyCabot

Line: 1 to 1
 
META TOPICPARENT name="ProgrammingNotes"
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/

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/ \ No newline at end of file

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

Revision 109 Sep 2010 - TobyCabot

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="ProgrammingNotes"
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/

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/

View topic | History: r18 < r17 < r16 < r15 | More topic actions...
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback