TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rails 4.0.9 and 4.1.5 have been released

34 pointsby tweakzalmost 11 years ago

4 comments

dmixalmost 11 years ago
Briefly searching Github for create_with it seems to be mostly used with seed data and or test factory models.<p><a href="https://github.com/search?l=Ruby&amp;q=create_with&amp;ref=cmdform&amp;type=Code&amp;utf8=%E2%9C%93" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;search?l=Ruby&amp;q=create_with&amp;ref=cmdform&amp;t...</a><p>Although quite a few taking raw user input. I&#x27;d imagine not all of them are Rails 4+ though.
Siecjealmost 11 years ago
I&#x27;m impressed with how few issues Rails has right now.
评论 #8194080 未加载
评论 #8194443 未加载
stousetalmost 11 years ago
I reported this.<p>Curiously, they patched (but didn&#x27;t disclose) the more severe half of this bug. Calls to `Model.where(params).create` also don&#x27;t protect against mass-assignment. I believe this pattern is both <i>much</i> more prevalent and hard to detect.
lectrickalmost 11 years ago
Now with less TDD!