This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #PS1="\[\033[1;32m\]## \h | $(~/.rvm/bin/rvm-prompt) [\[\033[0;36m\]\w\[\033[0m\]\[\033[1;32m\]] ∴ \[\033[0m\]" | |
| #PS2="\[\033[1;32m\]- \[\033[0m\]" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| group :test do | |
| gem 'test-unit' | |
| gem 'rspec', '2.0.1' | |
| gem "rspec-rails", "2.0.1" | |
| gem 'cucumber', '0.9.2' | |
| gem 'cucumber-rails', '0.3.2' | |
| gem 'capybara', '0.3.9' | |
| gem "escape_utils" | |
| gem 'database_cleaner' | |
| gem 'factory_girl' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Users::RegistrationsController < Devise::RegistrationsController | |
| def after_sign_in_path_for(resource) | |
| user_thank_you_path | |
| end | |
| End |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PKG_FILES = FileList[ | |
| '[a-zA-Z]*', | |
| 'generators/**/*', | |
| 'lib/**/*', | |
| 'rails/**/*', | |
| 'tasks/**/*', | |
| 'test/**/*' | |
| ] | |
| spec = Gem::Specification.new do |s| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| group :test do | |
| gem 'test-unit' | |
| gem 'rspec', '2.0.1' | |
| gem "rspec-rails", "2.0.1" | |
| gem 'cucumber' | |
| gem 'cucumber-rails' | |
| gem 'capybara' | |
| gem 'cover_me', '>= 1.0.0.rc2', :group => :test | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rspec (2.0.1, 2.0.0, 2.0.0.beta.20, 1.3.0) | |
| rspec-core (2.0.1, 2.0.0, 2.0.0.beta.20) | |
| rspec-expectations (2.0.1, 2.0.0, 2.0.0.beta.20) | |
| rspec-mocks (2.0.1, 2.0.0, 2.0.0.beta.20) | |
| rspec-rails (2.0.1, 2.0.0.beta.20) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # On branch rdoc_symbols | |
| # Changed but not updated: | |
| # (use "git add <file>..." to update what will be committed) | |
| # (use "git checkout -- <file>..." to discard changes in working directory) | |
| # | |
| # modified: actionpack/lib/action_controller/metal/responder.rb | |
| # modified: actionpack/lib/action_view/helpers/date_helper.rb | |
| # modified: actionpack/lib/action_view/helpers/form_helper.rb | |
| # modified: actionpack/lib/action_view/helpers/number_helper.rb | |
| # modified: actionpack/lib/action_view/lookup_context.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1: | |
| => #<Article id: 13, title: "inside", created_at: "2010-10-06 02:23:17", updated_at: "2010-10-06 02:23:17"> | |
| 2: | |
| => #<Article id: 14, title: "inside", created_at: "2010-10-06 02:23:22", updated_at: "2010-10-06 02:23:22" | |
| 3: | |
| => [#<Article id: 13, title: "inside", created_at: "2010-10-06 02:23:17", updated_at: "2010-10-06 02:23:17">, #<Article id: 14, title: "inside", created_at: "2010-10-06 02:23:22", updated_at: "2010-10-06 02:23:22">] | |
| 4: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %fieldset.common-form.standard-form | |
| = form_for @customer, :html => { :multipart => true } do |f| | |
| = f.error_messages | |
| %table{:border => "0"} | |
| %tr | |
| %th= f.label :name | |
| %td= f.text_field :name | |
| %tr | |
| %th= f.label :street | |
| %td= f.text_field :street |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| while me.stillAwake do | |
| sheep += 1 | |
| end |