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.
Since JavaScript has become the main language of the web and frontend frameworks are based on JavaScript, JSON serialization has become a very important part of many web apps. In this article, I’m going to explain what JSON serialization is, why you may need it in your Rails application and how to leverage existing libraries to implement JSON serialization in a concise and performant way. I will s
A Rails-centric frontend framework running over a permanent WebSocket connection. fie is a framework for Ruby on Rails that shares the state of your views with the backend. For each controller within which you wish to use fie, you must create a commander. fie uses commanders in the same way a Ruby on Rails application uses controllers. When an instance variable is changed in the commander, the vie
Need to upgrade Rails but don't have the time? Let the experts at FastRuby.io upgrade your application Contact Us FastRuby.io is a specialized Rails upgrade service. We have worked alongside teams from 1 to 100 people, upgrading applications without interrupting product development. Whether you’re stuck on 2.3 or want to prepare for 7.1, we’ve seen it all before and know the best approaches. We’ve
This is a quick guide designed to help newbie developers to build VueJS SPA with authenticated API calls. We’ll start with building an API-first REST-ful Rails backend. API-first means that the same API endpoints can be used by different Web/JS clients, mobile applications, 3rd party APIs, and ideally all of them should use a unified auth flow and JWT is a good fit for this goal. While in this art
Silicon Valley Area demand for Rails developers is hugeTL;DR Looking at job postings, Rails is more popular than Django, Laravel or Express. By a lot. If you specifically measure startup cities like San Francisco Bay area, Rails even beats ASP.NET . In fact, judging by job postings, Rails is probably the most used full stack web technology for U.S web based startups. In a previous post I made the
概要 原著者の許諾を得て翻訳・公開いたします。 英語記事: Removing the @ Hack in Rails Controllers – Eric Anderson – Medium 原文公開日: 2018/06/02 著者: Eric Anderson 週刊Railsウォッチで絶賛された記事です。Rails Wayから外れるのでRails中級以上向けですが、Rails初心者も知っておいて損はありません。 太字は訳で追加いたしました。 2018/06/14: 初版公開 2021/10/21: 更新 Rails: 提案「コントローラから@ハックを消し去ろう」(翻訳) 少し前に私が書いた記事で、Railsコントローラをメンテしやすくするために私が使っていた、伝統的でない戦略をいくつかご紹介しました。考え方そのものは今でもまったく問題ないと思っていますが、その中でもとりわけ気に入っている
発端 某システムにて Rails のバージョンアップをする機会がありまして。 調べてみると、 Rails 5.0 からは protect_from_forgery の デフォルト挙動が変わる と言うじゃないですか。 内容は protect_from_forgeryのprependのデフォルトをfalseに変更。 ですか。つまり、 今までは controller のどこに protect_from_forgery と書いても callbacks の一番上に積まれていたのが、デフォルトではそうではなくなる ということですか。 なるほど、これは取り急ぎは既存のままの挙動と合わせたいぞ、という気持ちになりますね。 というのが調べる発端でした。 見てみる そもそも 4.2 ではどうなんでしょうか。Rails のソースを見てみましょう。 def protect_from_forgery(options
2017.03.13 技術記事 「Sakasho」のRubyを2.4に、Railsを5にアップグレードしました by kunpei.sakai #ruby はじめに JPRゲーム事業本部開発基盤部の @namusyaka です。 業務ではDeNAのゲームプラットフォームである Sakasho のバックエンドやインフラ周りの開発・運用をしています。 そして最近アイコンを8~9年ぶりくらいに変えました。よろしくお願いいたします。 さて本題ですが、Sakashoでは今年の2月に管理アプリケーションのRuby・Railsのバージョンの大幅なアップグレードを実施しました。この記事ではそのアップグレード対応について、一つの事例として紹介させていただければと思います。 概略 冒頭でも触れましたが、アップグレードしたのはDeNAのモバイルゲームプラットフォームであるSakashoの機能を制御するための管理
I’ve been developing in Rails since 2005, right after it’s initial release, and it’s been a hell of a ride: I’ve built close to one hundred apps, from small ones handling just a few thousands requests a month, to big ones handling millions of requests a day. I love Ruby and Rails: the code looks beautiful, it makes me super-productive and I can get a prototype up and running in just a few hours. R
Kaizen Platform で Product Manager / Engineering Group Manager をしている @takus です。 Kaizen Platform では多くのアプリケーションで Ruby on Rails を採用しています。Rails には Active Support の Instrumentation 機能というものがあり、これを利用するとアプリケーション内でのイベント処理数や処理時間を計測して Datadog や Mackerel といった監視システムに送ることが簡単にできるので、その話を紹介したいと思います。 TL;DR Rails でイベント処理数や処理時間を計測して監視システムに送りたい Active Support の Instrumentation 機能を使うと簡単にできる 試しに Delayed::Job の Job 処理数と処理
The backend platform that powers Root is a Rails application. It’s comprised of 65k lines of Ruby application code and 135k lines of test code spread across 37 engines and 22 gems. We’ve been building it for three years and have a team of 30 engineers now working on it. Two techniques have been crucial to our success in sustaining a high velocity of delivery as the application has grown larger. We
About michelada.io By joining forces with your team, we can help with your Ruby on Rails and Javascript work. Or, if it works better for you, we can even become your team! From e-Commerce to Fintech, for years we have helped turning our clients’ great ideas into successful business. Go to our website for more info. Recently I have become interested in Hanami and so far I have really liked the arch
Rails 5.2 Active Storage: Previews, Poppler, and Solving Licensing Pitfalls Rails 5.2 was just released last month with a major new feature: Active Storage. Active Storage provides file uploads and attachments for Active Record models with a variety of backing services (like AWS S3). While libraries like Paperclip exist to do similar work, this is the first time that such a feature has been shippe
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く