Get it from the App Store.
In XCode's Preferences > Downloads you can install command line tools.
# ActiveRecord::Base#dup and ActiveRecord::Base#clone semantics have changed to closer match normal Ruby dup and clone semantics. | |
# Calling ActiveRecord::Base#clone will result in a shallow copy of the record, including copying the frozen state. No callbacks will be called. | |
# Calling ActiveRecord::Base#dup will duplicate the record, including calling after initialize hooks. Frozen state will not be copied, and all associations will be cleared. A duped record will return true for new_record?, have a nil id field, and is saveable. |
# autoload concerns | |
module YourApp | |
class Application < Rails::Application | |
config.autoload_paths += %W( | |
#{config.root}/app/controllers/concerns | |
#{config.root}/app/models/concerns | |
) | |
end | |
end |
Stacktrace: | |
[~/Sites/app] cucumber | |
Using the default profile... | |
undefined method `javascript_driver=' for Capybara:Module (NoMethodError) | |
/Users/pma/Sites/app/features/support/env.rb:10:in `block in <top (required)>' | |
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/spork-0.9.0.rc9/lib/spork.rb:24:in `prefork' | |
/Users/pma/Sites/app/features/support/env.rb:4:in `<top (required)>' | |
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-1.0.6/lib/cucumber/rb_support/rb_language.rb:143:in `load' | |
/Users/pma/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-1.0.6/lib/cucumber/rb_support/rb_language.rb:143:in `load_code_file' |
diff --git a/lib/compiler/ast/transforms.rb b/lib/compiler/ast/transforms.rb | |
index 19e1cfb..4e52ec2 100644 | |
--- a/lib/compiler/ast/transforms.rb | |
+++ b/lib/compiler/ast/transforms.rb | |
@@ -59,6 +59,71 @@ module Rubinius | |
end | |
end | |
+ # Provide an underscore node that allows partial application in Ruby. | |
+ # Instead of doing a method call, we are going to generate a lambda |
gem install showoff | |
git clone git://github.com/brixen/presentations.git | |
cd presentations/rubyconf11 | |
showoff serve |
dir = File.expand_path("..", __FILE__) | |
require File.join(dir, "redis_protocol") | |
require 'pp' | |
class APIFront | |
GEM_STORE = "http://production.s3.rubygems.org" |
cc -o prlink.o -c -m32 -Wall -fno-common -pthread -O2 -fPIC -UDEBUG -DNDEBUG=1 -DXP_UNIX=1 -DDARWIN=1 -DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1 -DXP_MACOSX=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I../../../dist/include/nspr -I../../../pr/include -I../../../pr/include/private -I/Developer/Headers/FlatCarbon prlink.c | |
prlink.c:48:27: error: CodeFragments.h: No such file or directory | |
prlink.c:49:23: error: TextUtils.h: No such file or directory | |
prlink.c:50:19: error: Types.h: No such file or directory | |
prlink.c:51:21: error: Aliases.h: No such file or directory | |
prlink.c:52:19: error: CFURL.h: No such file or directory | |
prlink.c:53:22: error: CFBundle.h: No such file or directory | |
prlink.c:54:22: error: CFString.h: No such file or directory | |
prlink.c:55:26: error: CFDictionary.h: No such file or directory | |
prlink.c:56:20: error: CFData.h: No such file or directory |
Recently, we've been working on extracting Ember conventions from applications we're working on into the framework. Our goal is to make it clearer how the parts of an Ember application work together, and how to organize and bootstrap your objects.
Routing is an important part of web applications. It allows your users to share the URL they see in their browser, and have the same things appear when their friends click on the link.
The Ember.js ecosystem has several great solutions for routing. But, since it is such an important part of most web applications, we've decided to build it right into the framework.
If you have already modeled your application state using Ember.StateManager
, there are a few changes you'll need to make to enable routing. Once you've made those changes, you'll notice the browser's address bar spring to life as you start using your app—just by moving between states, Ember.js will update the URL automatically.