Skip to content

Instantly share code, notes, and snippets.

☁️
Available, but may not reply

Ramy Aboul Naga RaMin0

☁️
Available, but may not reply
Block or report user

Report or block RaMin0

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View deploy.rb.diff
diff --git a/config/deploy.rb b/config/deploy.rb
index 422e82e..23a20e1 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -1,14 +1,14 @@
# config valid only for Capistrano 3.1
lock '3.2.1'
-set :application, 'my_app_name'
-set :repo_url, 'git@example.com:me/my_repo.git'
View child.rb
class Child
include Mongoid::Document
# Attributes
field :born_on, class: Date
# Relations
embedded_in :parent
end
View gist:909554
Could not load SystemTimer >= v1.2.0. Falling back to timeout.rb. SystemTimer is STRONGLY recommended for timeouts in Ruby 1.8.7. See http://ph7spot.com/blog/system-timer-1-2-release for details.
...........F..FFFFFF..FFFF...............
Failures:
1) Mebla searching should search and return the only relevant result
Failure/Error: results.count.should == 1
wrong number of arguments (0 for 1)
# ./spec/mebla/searching_spec.rb:13:in `size'
# ./spec/mebla/searching_spec.rb:13:in `count'
You can’t perform that action at this time.