#26 Hackers Love Mass Assignment (revised) Mar 08, 2012 | 6 minutes | Security , Active Record , Models One of the most common security issues in a Rails application is the mass-assignment vulnerability which allows a user to set any attribute on the model. Learn how to prevent it in ...
with some helpful suggestions from Brook Riggio's blog post on Haml by Default in a New Rails 3.2 App . The RailsApps application templates now include a haml-html5 template offering you a choice of Haml or ERB, with options for a CSS front-end framework such as Twitter Bootstrap (Les...
March 6th, 2012 We start out this episode talking about the Github Rails drama from this weekend along with Yehuda's suggestion to fix the issue, MethodProfiler, Ariane, SimpleForm 2.0, and Versionist. March 2nd, 2012 Wizard-ify Your Rails Controllers with Wicked … Edge Rails: PATCH i...
Ruby's catch/throw, goto's little brother Posted by devalot on March 09, 2012 — 0 comments Pat Shaughnessy showed us how to enable __goto__ for Ruby 1.9, but goto's little brother catch and throw have been there all along. Comments Post a Comment Comment abilities for non register...
March 9, 2012 Tagged: this week in open source open source Comments (View) This week in open source bourbon So this bourbon gem…people seem to like it: there was a RailsCast about it and the principle author (Phil LaPier) will be speaking at Frontend United about it. This week people ...
markdown_meta 0.0.2 Meta-gem for markdown parsing install gem install markdown_meta Download Documentation Subscribe Stats Authors Charles Oliver Nutter 5 total downloads 2 for this version Owners Links Homepage Bundler gem "markdown_meta", "~> 0.0.2" Versions 0.0.2 March 9, 2012 0.0....
Engine Yard, Inc. Log in Login to Engine Yard Cloud Login to Orchestra PHP Cloud Products Engine Yard Cloud Engine Yard Managed Orchestra PHP Cloud Platform Services Solutions Mobile Social Campaigns Services Support Training Professional Services Dev. & Digital Agencies Developer Cen...
The Model layer represents your domain model (such as Account, Product, Person, Post ) and encapsulates the business logic that is specific to your application. In Rails, database-backed model classes are derived from ActiveRecord::Base . Active Record allows you to present the data f...
This gem provides RequireJS support for your Rails 3 application.
A Brain está contratando desenvolvedores com experiência em Ruby on Rails para dois projetos diferentes no RJ. Os interessados deverão enviar seu currículo para o e-mail [email protected], mencionando no assunto vaga Ruby on Rails.
class Comment < ActiveRecord::Base belongs_to :commentable, :polymorphic => true end class Article < ActiveRecord::Base has_many :comments, :as => :commentable end class Photo < ActiveRecord::Base has_many :comments, :as => :commentable #... end class Event < ActiveRecord::Base has_ma...
Here at Engine Yard, we love feedback. All kinds of feedback. We truly do want to know what you think about us, our Support, and our products and services. Your feedback is extremely valuable to us and is critical in helping us make the right improvements. About a year ago, we introdu...
Trema is a full-stack, easy-to-use framework for developing OpenFlow controllers in Ruby and C
is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the universe of software. I'm a full-time Rails developer and contributor, available for long- or short-term consulting, with solid experience in working as part of a distri...
stache 0.2.2 A rails 3.x compatible template handler, configurable. install gem install stache Download Documentation Subscribe Stats Authors Matt Wilson 2,203 total downloads 13 for this version Owners Links Homepage Bundler gem "stache", "~> 0.2.2" Versions 0.2.2 January 6, 2012 0.2...
Rails <3.1 has some gotchyas when using :inverse_of option. class Note < ActiveRecord::Base has_many :contacts, inverse_of: :note end class Contact < ActiveRecord::Base belongs_to :note, touch: true #for triggering the note observer when the contact is updated end class NotObserver de...
Whether an error in the Sass code should cause Sass to provide a detailed description within the generated CSS file. If set to true, the error will be displayed along with a line number and source snippet both as a comment in the CSS file and at the top of the page (in supported brows...
freshdesk 0.1 Ruby Gem for interfacing with the Freshdesk API install gem install freshdesk Download Documentation Subscribe Stats Authors David Liman 21 total downloads 21 for this version Owners Links Homepage Bundler gem "freshdesk", "~> 0.1" Versions 0.1 February 22, 2012 Runtime ...
The offending line: command = "set #{cache_key} 0 #{expiry} #{value.size}\r\n#{value}\r\n" The problem is the length part of the set command is done on it's pre-string form and not after conversion even though it will be converted to a string before being sent to the server. For examp...
Bacon_Colored 0.1.0 Adds color to your spec runs. Inspired by GreenEggs: https://github.com/fantasticmf/greeneggs \ install gem install Bacon_Colored Download Documentation Subscribe Stats Authors da99 173 total downloads 173 for this version Owners Bundler gem "Bacon_Colored", "~> 0....
arturo 1.3.0 Deploy features incrementally to your users install gem install arturo Download Documentation Subscribe Stats Authors James A. Rosen 5,644 total downloads 253 for this version Owners Links Homepage Bundler gem "arturo", "~> 1.3.0" Versions 1.3.0 November 1, 2011 0.2.3.7 N...
Are your migrations the execute-and-pray variety? If so, you are probably not (yet!) running a large application. Even small applications can benefit from a more careful migration process. It’s important to establish the process now, before things get big, because it will be much more...
Testing support was woven into the Rails fabric from the beginning. It wasn’t an “oh! let’s bolt on support for running tests because they’re new and cool” epiphany. Just about every Rails application interacts heavily with a database – and, as a result, your tests will need a databas...