Ginza.rb 第31å ã¦ã¼ã¶ã®æ¨©é管çã©ããã¦ã¾ãï¼çºè¡¨è³æ https://ginzarb.doorkeeper.jp/events/36898 kyuden/banken https://github.com/kyuden/banken
ã¯ããã« kakurenboã¨ããgemã¯ãåç¥ã§ããããï¼paranoiaã®æ¬ ç¹ãå æãã¹ã1å¹´ã»ã©åã«ç§ãéçºãå§ããgemã§ãã(åèï¼Rails4ã¨3ã§è«çåé¤ãè¡ãããã®Gem Kakurenbo ã®ç´¹ä»ã¨ä»æ´è«çåé¤Gemãå®è£ ããçç±ã - æ³¢æéã®ããã°ãã) issueãpullrequestãéä¿¡ãã¦ãã ããåæã®ã³ããã¿ã¼ã®æ¹ã ã«æ¯ããããªãã1å¹´ã»ã©ä¿å®ããã¦ãã¾ããããã®ä¸ã§èã ã¯æ°ãã¤ãã¦ããã®ã§ãããã©ããã¦ãèªããããªãã£ãéå¤§ãªæ¬ ç¹ãããããªã¨èªèãããããã®ã§ãã¨ã ã«ãã¾ããã è«çåé¤gemã®èµ·æº kakurenboãparanoiaããå»ãã¦ãã¾ã£ã acts_as_paranoid ãåå®è£ ãããã®ã§ãã ãããã®gemã¯å°å ¥ããã ãã§ããã¤ã使ã£ã¦ããdestroyã¡ã½ãããè«çåé¤ã¡ã½ããã«æ©å¤ããããç´ æ´ãããgem...ã«ãªãã¯ãã ã£ãã®ã§
SecureHeaders::Configuration.default do |config| config.cookies = { secure: true, # mark all cookies as "Secure" httponly: true, # mark all cookies as "HttpOnly" samesite: { lax: true # mark all cookies as SameSite=lax } } # Add "; preload" and submit the site to hstspreload.org for best protection. config.hsts = "max-age=#{1.week.to_i}" config.x_frame_options = "DENY" config.x_content_type_option
Gulp - a modern approach to asset pipeline for Rails developers ⦠and check why 5600+ Rails engineers read also this Gulp - a modern approach to asset pipeline for Rails developers Rails asset pipeline is one of things that makes Rails great for creating simple applications fast. It solves a big problem of serving our assets efficiently in both development and production environment. While being v
Bring CommonJS to your asset pipeline A few weeks ago, Marcin recommended Gulp as the Rails asset pipeline replacement. Today I am going to tell you how you can benefit from CommonJS modules in your Rails application with asset pipeline enabled. You donât have to disable asset pipeline in your Rails application in order to use CommonJS module loading in your JavaScripts. One of tools that allows y
File Uploads with Refile | GoRails ãè¦ã¦ã®ææ³æã§ãã carrierwave ã®ä½è ãä½ã£ãå¾ç¶ gem refile ããªããªããããããªæãã§ãã S3ã¸ã®ãã©ã¦ã¶ããã®ç´æ¥ã¢ãããã¼ãã®ãµãã¼ã ãµã ãã¤ã«ã®åççæãµãã¼ã ã¢ãããã¼ãæãããªãã¦ããã©ã¦ã¶ãããªã¯ã¨ã¹ãæ¥ãæã«çæ ãã¡ããæ¬çªæã¯CDNãªã©ã¨ä½µç¨ããªãã¨ãã¡ã§ã ãã¡ã¤ã«ã鏿ãããå³ã¢ãããã¼ãã®ãµãã¼ã ãªã©ãcarrierwave ã«ãã£ãããããªã¼ã¨æã£ã¦ããæ©è½ãçãè¾¼ã¾ãã¦ãã¾ãããã¨ã¯åèè¨äºã«æ¸ãã¦ããæç« ãèªãéãã§ã¯ãã½ã¼ã¹ã³ã¼ããè¦ããããªã£ã¦ããã½ãã§ãã(carrierwaveã®ã½ã¼ã¹ã³ã¼ã追ãã®ã¯çµæ§è¾ãã£ãè¨æ¶ãããã¾ã)ã æ¬¡ãã¡ã¤ã«ã¢ãããã¼ãæ©è½ãã¤ããã¨ãã«ã¯ä½¿ã£ã¦ã¿ããã¨æãã¾ãã GoRails GoRailsãã¹ã¿ã¼ãå½å㯠ra
æè¡é¨ã®å°é(@taiki45)ã§ãããã®è¨äºã§ã¯ç°¡åãªã¢ããªã±ã¼ã·ã§ã³(ããã°ã·ã¹ãã )ã®å®è£ ãéãã¦ãã¯ãã¯ãããã§ä½æã»ä½¿ç¨ãã¦ããã©ã¤ãã©ãªã®Garage ã®ç´¹ä»ã¨ Garage ã使ã£ã RESTful Web API ã®éçºããç´¹ä»ãããã¨æãã¾ãã Garage 㯠RESTful Web API ãéçºããããã®ã Rails gemified plugins ã§ããRails ããã°ã©ã㯠Garage ã使ã£ã¦ Rails ãæ¡å¼µãããã¨ã§ç´ æ©ã Web API ãéçºãããã¨ãã§ãã¾ããGarage ã¯æ°ããã¢ããªã±ã¼ã·ã§ã³ãéçºããå ´åã«ããæ¢åã® Rails ã¢ããªã±ã¼ã·ã§ã³ã«çµã¿è¾¼ãã§ Web API ãå®è£ ããå ´åã§ã使ç¨ã§ãã¾ããGarage ã¯ãªã½ã¼ã¹ã®ã·ãªã¢ã©ã¤ãºãã¢ã¯ã»ã¹ã³ã³ããã¼ã«ãªã© Web API ã®å®è£ ã«å¿ è¦ãªæ©è½ãã«ãã¼ãã¦ãã¾ãã Ruby
RecordWithOperator is a gem that makes your active record models to be saved or logically deleted with created_by, updated_by, deleted_by (column names can be changed). Also it makes creator, updater, deleter association (belongs_to). You can specify which action you want to save operator like this. records_with_operator_on :cerate, :update, :destroy RecordWithOperator needs to know who is current
ã¯ããã« Rails ã¢ããªã§ãã£ã¼ããå®è£ ãããã¦ãThe Ruby Toolbox ã§ Rails ãã©ã°ã¤ã³ãæ¢ãã¦ã¿ãã The Ruby Toolbox - Graphing ä¸è¨ã®ãã¼ã¸ã«ããã¨ãLazy high chartsãGooglechartsãOpen flash chartãGruff ã®4å¼·ã¿ããã ã Gruff ã¯ãµã¼ãã¼å´ã§ãã£ã¼ããæç»ããªãã¨ãããªããããã¹ãGooglecharts 㯠Google Chart API ã«ä¾åãããããã¹ãOpen flash chart ã¯ãã£ã¼ãããã©ã¦ã¶å´ã§æç»ã§ãããã©ã Flash ãªã®ã§ãã¹ã Lazy high charts 㯠highcharts.js ã使ã£ã¦ãã¦ãHTML5 ã® Canvas ã«ãã£ã¼ããæç»ã§ãããããè¯ããããLazy high charts ãã©ã°ã¤ã³ã使ã£ã¦ã¿ããã Laz
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã¡ã³ããã³ã¹
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}