@include is used for mixins. Find the mixin, and copy that css into the class that is including it.
@mixin red {
color: red;
}
.roster-text {
@include red;
Could not find a valid mapping for #<User id: 4, email: "[email protected]", encrypted_password: "$2a$04$pg1ZaqHhB6iEpwzRse63ruW7o4FYoP4yKgnQ2skqTFfa...", password_salt: "", reset_password_token: nil, remember_token: nil, remember_created_at: nil, sign_in_count: 0, current_sign_in_at: nil, last_sign_in_at: nil, current_sign_in_ip: nil, last_sign_in_ip: nil, invitation_token: nil, invitation_sent_at: nil, confirmation_token: "49YHch7td0K0RDKyry1O", confirmed_at: nil, confirmation_sent_at: "2011-03-02 16:11:57", created_at: "2011-03-02 16:11:57", updated_at: "2011-03-02 16:11:57", group_id: 4> | |
# ~/.rvm/gems/ruby-1.9.2-p136/bundler/gems/devise-e4cae200f4a5/lib/devise/mapping.rb:40:in `find_scope!' | |
# ~/.rvm/gems/ruby-1.9.2-p136/bundler/gems/devise-e4cae200f4a5/app/mailers/devise/mailer.rb:26:in `initialize_from_record' | |
# ~/.rvm/gems/ruby-1.9.2-p136/bundler/gems/devise-e4cae200f4a5/app/mailers/devise/mailer.rb:21:in `setup_mail' | |
# ~/.rvm/gems/ruby-1.9.2-p136/bundler/gems/devise-e4cae200f4a5/app |
namespace :db do | |
task :setup => :environment do | |
super <--- Is there a rake equivalent to this? | |
Rake::Task["import"].invoke | |
end | |
end |
> f = function () { x = []; console.log(x); x.push("foo") } | |
function () { x = []; console.log(x); x.push("foo") } | |
> f() | |
["foo"] | |
> f = function () { x = []; console.log(_.clone(x)); x.push("foo") } | |
function () { x = []; console.log(_.clone(x)); x.push("foo") } |
soundManager.ontimeout(function() { | |
// Something went wrong during init - in this example, we *assume* flashblock etc. | |
soundManager.flashLoadTimeout = 0; // When restarting, wait indefinitely for flash | |
soundManager.onerror = {}; // Prevent an infinite loop, in case it's not flashblock | |
soundManager.reboot(); // and, go! | |
}); | |
<div class="home"> | |
... | |
</div> | |
<div class="work"> | |
... | |
</div> | |
<div class="about"> | |
... | |
</div> |