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
The following PR adds behavior to Rails to allow an application to automatically switch it's connection from the primary to the replica. A request will be sent to the replica if: * The request is a read request (`GET` or `HEAD`) * AND It's been 2 seconds since the last write to the database (because we don't want to send a user to a replica if the write hasn't made it to the replica yet) A request
Most of the types are represented by C structures. Check Data Type of the VALUE The macro TYPE() defined in ruby.h shows the data type of the VALUE. TYPE() returns the constant number T_XXXX described above. To handle data types, your code will look something like this: switch (TYPE(obj)) { case T_FIXNUM: /* process Fixnum */ break; case T_STRING: /* process String */ break; case T_ARRAY: /* proce
Zeitwerk is an efficient and thread-safe code loader for Ruby. Given a conventional file structure, Zeitwerk is capable of loading your project's classes and modules on demand (autoloading) or upfront (eager loading). You don't need to write require calls for your own files; instead, you can streamline your programming by knowing that your classes and modules are available everywhere. This feature
CSS, Sass and SCSS Webpacker supports importing CSS, Sass and SCSS files directly into your JavaScript files. Importing and loading styles is a two step process: You need to tell webpack which file(s) it has to compile and know how to load When you do import '../scss/application.scss', you're telling webpack to include application.scss in the build. This does not mean it's going to be compiled int
This document is a list of user visible feature changes made between releases except for bug fixes. Note that each entry is kept so brief that no reason behind or reference information is supplied with. For a full list of changes with all sufficient information, see the ChangeLog file or Redmine (e.g. https://bugs.ruby-lang.org/issues/$FEATURE_OR_BUG_NUMBER) $SAFE is a process global state and we
https://bugs.ruby-lang.org/issues/15347 To be discussed at DevelopersMeeting 20190110 Japan. We already started to use some C99 features since r66597, and enabled C99 in configure level since r66598 and r66605. This patch just changes C90 build check on Travis to C99. Here is the draft of our C99 dialect documentation to be posted: Moved to https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/C99.
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く