This file contains 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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="random" |
This file contains 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
npm info it worked if it ends with ok | |
npm info using npm@2.13.5 | |
npm info using node@v0.12.2 | |
npm info preinstall ember-cli@1.13.8 | |
npm info attempt registry request try #1 at 19:06:28 | |
npm http request GET https://registry.npmjs.org/broccoli | |
npm info attempt registry request try #1 at 19:06:28 | |
npm http request GET https://registry.npmjs.org/broccoli-caching-writer | |
npm info attempt registry request try #1 at 19:06:28 | |
npm http request GET https://registry.npmjs.org/broccoli-clean-css |
This file contains 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
# Add this code to a new file and you can put it under app/admin/lib folder or else config/initializer/actice_admin.rb | |
module ActiveAdmin | |
module Views | |
class TableFor | |
def html_column(attribute) | |
column(attribute){ |model| model[attribute].html_safe } | |
end | |
def bool_column(attribute) |
This file contains 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
.row.bottom-gap | |
.small-9.small-offset-3.large-4.large-offset-2.columns | |
.button.button-with-gradient.button-round | |
%div.ico.icon-cart | |
= t('home.index.buy') | |
.small-9.small-offset-3.large-4.large-offset-2.columns | |
.button.button-with-gradient.button-round | |
%div.ico.icon-redeem | |
= t('home.index.redeem') |
This file contains 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
{"notifier"=> | |
{"name"=>"airbrake-js-v8", | |
"version"=>"0.3.10", | |
"url"=>"https://github.com/airbrake/airbrake-js"}, | |
"errors"=> | |
=> {"notifier"=> | |
{"name"=>"airbrake-js-v8", | |
"version"=>"0.3.10", | |
"url"=>"https://github.com/airbrake/airbrake-js"}, | |
"errors"=> |
This file contains 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
Hi @ wycats, | |
I am using emberjs 1.8.0 release and I am trying to build a dynamic view. As per various reference and suggestions on the web. | |
I planned to use ContainerView and ChildViews as I have to dynamically add a single row of the grid, whenever someone click ADD button | |
on my main view. | |
Using this reference I am able to add the childViews in the containerView. However I am facing issue with data retrival. | |
I am not able to get data in my controller, which i have entered in the each child view. I think because | |
controller and ContainerView has not direct relation. | |
Here is the JSBin of what I am doing http://emberjs.jsbin.com/gatoja/8/ | |
I want to get value of all the dynamically added WIDTH fields |
This file contains 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
Forem::Forum Load (0.3ms) SELECT `forem_forums`.* FROM `forem_forums` WHERE `forem_forums`.`id` = 1 ORDER BY name ASC LIMIT 1 | |
Rendered /Users/shivanidaxini/.rvm/gems/ruby-1.9.3-p545@project/bundler/gems/forem-4726ad67a36d/app/views/forem/topics/_head.html.erb (2.8ms) | |
SQL (0.5ms) SELECT `memberships`.`organisation_id` FROM `memberships` WHERE `memberships`.`person_id` = 000 AND `memberships`.`state` = 'donotknow' | |
SQL (0.4ms) SELECT `memberships`.`organisation_id` FROM `memberships` WHERE `memberships`.`person_id` = 000 AND `memberships`.`is_owner` donotknow`memberships`.`state` = 'donotknow' | |
SQL (0.4ms) SELECT `memberships`.`organisation_id` FROM `memberships` WHERE `memberships`.`person_id` = 000 AND `memberships`.`state` = 'donotknow' | |
SQL (0.3ms) SELECT `memberships`.`organisation_id` FROM `memberships` WHERE `memberships`.`person_id` = 000 AND `memberships`.`state` = 'donotknow' | |
SQL (0.3ms) SELECT `memberships`.`organisation_id` FROM `memberships` WHERE `memberships`.`person_id` = 000 AND |
This file contains 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
Process: ruby [18450] | |
Path: /Users/USER/*/ruby | |
Identifier: ruby | |
Version: ??? | |
Code Type: X86-64 (Native) | |
Parent Process: bash [7191] | |
Responsible: iTerm [314] | |
User ID: 501 | |
Date/Time: 2014-05-16 16:02:43.561 +0530 |
This file contains 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
Process: ruby [15615] | |
Path: /Users/USER/*/ruby | |
Identifier: ruby | |
Version: ??? | |
Code Type: X86-64 (Native) | |
Parent Process: bash [97549] | |
Responsible: iTerm [328] | |
User ID: 501 | |
Date/Time: 2014-05-15 19:51:24.492 +0530 |
NewerOlder