https://plus.google.com/hangouts/_/qism6qwtfeypvts6kgvk7wny4ea?hl=fr&authuser=0
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
| Started POST "/sessions/new" for 127.0.0.1 at 2014-04-03 11:29:54 +0200 | |
| ActionController::RoutingError (No route matches [POST] "/sessions/new"): | |
| actionpack (4.0.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' | |
| actionpack (4.0.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' | |
| railties (4.0.3) lib/rails/rack/logger.rb:38:in `call_app' | |
| railties (4.0.3) lib/rails/rack/logger.rb:20:in `block in call' | |
| activesupport (4.0.3) lib/active_support/tagged_logging.rb:67:in `block in tagged' | |
| activesupport (4.0.3) lib/active_support/tagged_logging.rb:25:in `tagged' |
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 LineItem < ActiveRecord::Base | |
| belongs_to :order | |
| belongs_to :product | |
| validates :product_id, :quantity, presence: true | |
| validates :quantity, numericality: { only_integer: true } | |
| before_save :set_price_to_products | |
| private |
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
| http://plus.google.coms/hangouts/_/stream/ytl/sSPRzi9D_lU5zvh7_0jsjtb5x5T_uXXsNpZ5v-3kFDA=?hl=fr&authuser=0 |
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
| https://plus.google.com/hangouts/_/ytl/sSPRzi9D_lX1WoXVxtDJp5fm0IB0NLBXy-hFehGfzAs=?hl=es_ES&authuser=0 |
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 MoviesApp extends Component { | |
| render() { | |
| var initialRoute = {name: 'search'}; | |
| return ( | |
| <Navigator | |
| style={styles.container} | |
| initialRoute={initialRoute} | |
| configureScene={() => Navigator.SceneConfigs.FadeAndroid} | |
| renderScene={RouteMapper} | |
| /> |
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
| Unable to download https://www.atom.io/api/packages/linter-plus-eslint/versions/0.4.0/tarball: 400 Bad Request Repository inaccessible |
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
| # Issues https://github.com/airblade/paper_trail/issues/798 | |
| begin | |
| require "bundler/inline" | |
| rescue LoadError => e | |
| $stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler" | |
| raise e | |
| end | |
| gemfile(true) do |
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
| # app/serializers/hash_serializer.rb | |
| class HashSerializer | |
| def self.dump(hash) | |
| hash.to_json | |
| end | |
| def self.load(hash) | |
| hash = ActiveSupport::JSON.decode(hash) if hash.is_a? String | |
| (hash || {}).with_indifferent_access | |
| end |
OlderNewer