Public Notes
on
histre
Ask HN: How can I learn "advanced" data modelling for Rails? | Hacker News
news.ycombinator.com
ActionDispatch::Routing::PolymorphicRoutes
api.rubyonrails.org
"With this in mind, having once developed a Rails app in SQLite (and having found out rather quickly that I had been left out in the cold by developers of these respective search search solutions), I decided to assemble a custom search solution to delve through the title, summary and body fields of my articles. This is what it looks like:"
#ruby #rails #reference #insightful #code #example #guide #search_engine #MVC #model #pub
Show More
rails/strong_parameters · GitHub
github.com
"With this plugin Action Controller parameters are forbidden to be used in Active Model mass assignments until they have been whitelisted. This means you’ll have to make a conscious choice about which attributes to allow for mass updating and thus prevent accidentally exposing that which shouldn’t be exposed.
In addition, parameters can be marked as required and flow through a predefined raise/rescue flow to end up as a 400 Bad Request with no effort."
#Rails #rails4 #gems #security #ruby #code #MVC #pub
Show More
Gentle Bytes - Blog - ramblings, news, programming recipies and more...
www.gentlebytes.com
#coding #objective-c #cocoa #blog_posts #MVC #structure #architecture #dev #toread #pub
Show More
Collect and share the web
Get started for free