github.com/mastodon/mas…
github.com/mastodon/mas…
Our very own Keshav Biswa took the stage at RubyConf India 2026, Hyderabad, sharing his insights on making slow RSpec test suites faster and more efficient.
Well done, Keshav! 👏
#RubyConfIndia2026 #Ruby #RSpec #RubyOnRails #Saeloun
Our very own Keshav Biswa took the stage at RubyConf India 2026, Hyderabad, sharing his insights on making slow RSpec test suites faster and more efficient.
Well done, Keshav! 👏
#RubyConfIndia2026 #Ruby #RSpec #RubyOnRails #Saeloun
rspec --format json writes everything when the run closes, so a killed run gives you nothing.
minitest-reporters replaces Minitest.backtrace_filter, the Rails one included, so pass it back as the third argument of use!
rspec --format json writes everything when the run closes, so a killed run gives you nothing.
minitest-reporters replaces Minitest.backtrace_filter, the Rails one included, so pass it back as the third argument of use!
Think of a Minitest failure that says only "Expected false to be truthy". That is this row. An RSpec diff that shows the expected state is closer to the row worth 42 points.
Think of a Minitest failure that says only "Expected false to be truthy". That is this row. An RSpec diff that shows the expected state is closer to the row worth 42 points.
https://rubycoder.ai/item/agent-primitives
#rubygems #ruby
https://rubycoder.ai/item/agent-primitives
#rubygems #ruby
https://rubycoder.ai/item/ai-rspec-writer
#ruby #devtools
https://rubycoder.ai/item/ai-rspec-writer
#ruby #devtools
https://github.com/mastodon/mastodon/pull/41616
https://github.com/mastodon/mastodon/pull/41616
https://github.com/mastodon/mastodon/pull/40960
https://github.com/mastodon/mastodon/pull/40960
あとは workstation にあげてる SA は権限を少し絞ってるから、結構 AI Agent にやんちゃさせても良いようになってるから、色々おまかせできるのは良いかも。
あとは workstation にあげてる SA は権限を少し絞ってるから、結構 AI Agent にやんちゃさせても良いようになってるから、色々おまかせできるのは良いかも。
#AskMio #AITools #AIArt #Copywriting
https://askmioai.com/ai-ruby-code-help/
#AskMio #AITools #AIArt #Copywriting
https://askmioai.com/ai-ruby-code-help/
Inside the working directory it also runs mkdir, touch, rm, rmdir, mv, cp and sed without asking you.
Other commands, like bundle exec rspec, still ask.
Inside the working directory it also runs mkdir, touch, rm, rmdir, mv, cp and sed without asking you.
Other commands, like bundle exec rspec, still ask.
No monkey patch, no at_exit, no memoized let, no after, no mocks. The expected value always receives the comparison. The run stops at the first expectation not met.
~250 lines of #Ruby, on the engine of Fix 1.0.
github.com/cyril/r_spec...
No monkey patch, no at_exit, no memoized let, no after, no mocks. The expected value always receives the comparison. The run stops at the first expectation not met.
~250 lines of #Ruby, on the engine of Fix 1.0.
github.com/cyril/r_spec...
github.com/longicorn/ic...
github.com/longicorn/rs...
github.com/longicorn/ic...
github.com/longicorn/rs...
・contextとbeforeを揃える、beforeでやりきる
・letを多用しない。再利用よりも読みやすさ優先。
・複雑なデータセットアップはメソッド化して逃がす
・contextの多段構成はかえって読みづらいのでなるべく避ける
・contextとbeforeを揃える、beforeでやりきる
・letを多用しない。再利用よりも読みやすさ優先。
・複雑なデータセットアップはメソッド化して逃がす
・contextの多段構成はかえって読みづらいのでなるべく避ける
#Ruby #Rails #Gem #rspec-rails
#Ruby #Rails #Gem #rspec-rails
Conclusion: it's a good idea to ask them to do a code review before each release, and probably more than one of them 🙂 (a lot of the things found were non-overlapping)
Conclusion: it's a good idea to ask them to do a code review before each release, and probably more than one of them 🙂 (a lot of the things found were non-overlapping)
github.com/renuo/rspec-...
github.com/renuo/rspec-...
#monitoring https://opsmtrs.com/3CvVH6c
#monitoring https://opsmtrs.com/3CvVH6c
#monitoring https://opsmtrs.com/3CvVH6c
#monitoring https://opsmtrs.com/3CvVH6c
https://blog.smartbank.co.jp/entry/2026/10/20/190000
https://blog.smartbank.co.jp/entry/2026/10/20/190000
『現場で役立つシステム設計の原則』を読んで学んだこと、実践したこと、これからやりたいこと
変更しにくいRailsシステムの改善に向け、『現場で役立つシステム設計の原則』から学んだ設計技法と実践内容をまとめています。
ロジックをデータを持つ側に配置し、業務用語をコードに反映させ、構成を小規模に保つことで、変更を楽で安全にする手法を学習しました。
実際にコードの監査やロジックの切り出しを行い、保守性の向上に取り組んでいます。
『現場で役立つシステム設計の原則』を読んで学んだこと、実践したこと、これからやりたいこと
変更しにくいRailsシステムの改善に向け、『現場で役立つシステム設計の原則』から学んだ設計技法と実践内容をまとめています。
ロジックをデータを持つ側に配置し、業務用語をコードに反映させ、構成を小規模に保つことで、変更を楽で安全にする手法を学習しました。
実際にコードの監査やロジックの切り出しを行い、保守性の向上に取り組んでいます。
widefix.com/blog/stub-en...
#rails #maintenance
widefix.com/blog/stub-en...
#rails #maintenance
https://zenn.dev/okamyuji/books/rails-ai-review-invariants
https://zenn.dev/okamyuji/books/rails-ai-review-invariants