RE: Stupid newbie question

Long version

category_hash = params[:category]
category_hash_parent_id = category_hash[:parent_id]

As bill said it’s a hash [:category, :commit] that contains another
hash[:name, :parent_id]

Ross

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs