You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
I am writing on behalf of http://rails-assets.org maintainers. Please remove all versions of rails-assets-angular gem from official rubygems repository. This gem is nearly the same as rails-assets-angular from http:/rails-assets.org, but includes alert("I'm in your app.") line in angular.js file. Gems prefixed with rails-assets- are supposed to be bower packages repacked as ruby gems and downloade
In my previous post I described upgrading to ui-grid 3.0, which is the not-yet-beta version of ng-grid. Over time this will offer significant benefits, at the moment it feels like a faster ng-grid. As part of implementing it on my core application I needed to rewrite the library routines for my end-to-end testing using protractor. These were reasonably tricky to work out, so I thought I’d post
How to Set Up Authentication with AngularJS and Ruby on Rails Jason Swett Jason Swett is author of AngularOnRails.com, AngularJS mentor at Thinkful, and principal of AngularJS/Rails consultancy Ben Franklin Labs. 1 Introduction 1.1 Who This Tutorial Is For Since Rails is old and AngularJS is new (relatively of course), I'm assuming there will be a lot more Rails developers interested in adding Ang
すいません。締切守れませんでした…。 やっぱ、java-jaの忘年会の翌日は辛い…。 はじめに Webシステムを開発していると切っても切れないのがJavaScriptです。 Railsはかなり早い時期からalt-JSや結合、minify等を組み込めるようにフレームワークにそれを取り入れてきました。 それを支えているのがRails3.1から導入されたsprocketsです。 それに伴なってJSのライブラリをどうやって管理するかという点について、独自の路線を取ることになりました。 JSのライブラリを同梱したgemパッケージにラップしてrubygemsとして管理する方法です。 ある程度は上手くいっていたし、今もその流れは続いているんですが、時々問題になることもあります。 例えばメンテナの対応時期がズレてて古いバージョンのままだったり、似たようなgemが乱立してややこしくなったり。(backbon
以前投稿したAngularJSとRailsの丁度良い関係を探るという記事のコード解説編です。前回はざっくりとしたアーキテクチャの紹介のみにとどめていたので、このエントリでサンプルコードの詳細について解説します。 バージョン情報 ruby 2.1.3 rails 4.1.7 devise 3.2.4 angularjs 1.3.2 ディレクトリ構造 app以下のディレクトリ構造は以下のような形です。 app ├── assets │ ├── images │ ├── javascripts │ │ ├── app │ │ │ └── tasks │ │ │ ├── tasks.controller.js.erb │ │ │ ├── tasks.html.erb │ │ │ ├── tasks.js.erb │ │ │
noteはAngularJSを使って、ブラウザで描写しているこの"note"というサービスはAngularJSを使って、JavaScript側(つまりブラウザ側)でノートの中身を公開しているみたいなのです。 それはブラウザでソースを見てみるとわかります。 例えばhttps://note.mu/sadaaki/n/nd921f3f7c635のノートのソースをChromeで見てみると・・・ まずhtmlタグにng-appのプロパティがついています。これはAngularJSを使うならば必要なプロパティで、ここからnoteはAngularJSを使っているんだなあと分かります。 AngularJSは簡単に言うと、サーバー側ではなくブラウザ側でHTMLを描写する仕組みです。これを利用するとどんな利点があるのか。僕の理解している範囲内だと、サーバー側はベースとなるHTML(上のソース)と各ノートのJSO
Fernando Villalobos Fernando Villalobos is a Rails Agile Development expert and certified SCRUM developer who has used this methodology for building high-performance apps for the past eight years. Fernando is also the organizer of Oaxaca, Mexico's Ruby User Group. 1 Introduction In this article we are going to explore two popular MV* JavaScript frameworks: AngularJS and Ember.js. This time we are
Angular + Railsの理想的な関係 Railsはバックエンドとして完全にAPIを提供するのみで、フロントサイド(AngularJS)と完全に分離 AngularとRailsの間をどうセキュアに繋ぐか? RailsがOAuth2 Providerとなって、APIの許可を行う OAuth2 Provider用のgem doorkeeperを用いるとよい APIの提供は、grapeを用いるとよい 理想的な Rails, AngularJS 環境の構築 - ボクココ AngularJS x Railsで ユーザ認証を実現するためのアプリ設計 - ボクココ Grape+DoorkeeperによるOAuth2 ProviderとAPIの提供 構成は以下のとおり Resource Owner (User) - Devise Authorization Server (OAuth 2 Provi
delyは以下の事業・サービスを運営しています。 【国内No.1 食と暮らしのプラットフォーム「クラシル」】 アプリダウンロード数4,000万(※1)を突破した国内No.1の食と暮らしのプラットフォーム「クラシル」は、「80億人に1日3回の幸せを届ける」をミッションに、毎日使いやすい、人のあたたかさが伝わるサービスを目指しています。 https://www.kurashiru.com/ 【国内No.1 買い物サポートアプリ「クラシルリワード」】 クラシルリワードは「日常のお買い物体験をお得に変える」サービスです。リリースからわずか6ヶ月で、お買い物サポートアプリのダウンロード数でNo.1(※2)に。多くのユーザーが日常生活の中で頻繁に利用しており、そのデータを活用しより最適なコンテンツを提案、また食品メーカーをはじめとする企業へ「買い物」に関する様々なマーケティング支援に取り組んでいます。
長文注意。 angularjsについて今更ながらに触り始めて色々と感動したので纏めておく。 angularjsがどういったフレームワークかは公式のチュートリアルを眺めてたらぼんやりと把握できると思うので今回その辺の話はあまり触れない。 http://angularjs.org/ angularjsのAPIについては公式のドキュメント含めて様々なメディアやブログに取り上げられているが、導入から体系的に語られてるものはあまり無い印象だったので、僕のブログでは導入から具体的な目的に沿った実装方法を紹介していこうと思う。 ちなみに自分のangularjsへの理解も触り始めて一週間程度なのでだいぶ甘い。 angularjsを一週間やってみた感想 最初の2日くらいがだいぶつらい。 飲み込みが早い人ならすぐに使いこなすのかもしれないが、angularjsはdirective, controller, f
thoughtbot is your expert partner for product design and development. We help our clients lead the way through better products, faster teams, and stronger growth.
If the protect_from_forgery option is mentioned in application_controller, then I can log in and perform any GET requests, but on very first POST request Rails resets the session, which logs me out. I turned the protect_from_forgery option off temporarily, but would like to use it with Angular.js. Is there some way to do that?
はじめに 前回構築したAngularJS+Ruby on Railsのアプリに、今回はCRUDの内のRead機能を実装し DBに登録してあるウィスキーの一覧を表示する画面を作成しました。 以下に、実装する上でのポイントとなる箇所を記述していきます。 尚、ソースコードは以下のGitHubに置いてあるので、全ソースを見たい方は参考にしてください。 AngularjsWhiskyList 実装について 1.application.js application.jsに、AngularJSのスクリプトを読み込むよう、以下の定義を追加します。 (ベタに参照するjsを書いているので、本当はフォルダを指定した方がイイと思いますが・・・) //= require ngapp/app/lib/angular/angular.min.js //= require ngapp/app/lib/angular/an
https://shellycloud.com/blog/2013/10/how-to-integrate-angularjs-with-rails-4 1 comment | 0 points | by WazanovaNews ■ comment by Jshiike | 約4時間前 Railsアプリのホスティングサービスを提供しているShelly Cloudがブログで、フロントでAngularJS、バックエンドでRails 4を採用するときの留意点について、まとめています。使用しているコードサンプルはこちらになります。 1) Building a JSON API in Rails RailsでAPIをいちから作ってみる。angularjs-rails-resourceのようなライブラリを使うときは詳細が違ってくるが、考え方は概ね同じ。 Routing namespace :api
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く