Displaying 2 results from an estimated 2 matches for "envyg".
Did you mean:
envy
2012 Sep 08
4
dash symbol
In the example below, what is the dash doing between the class
attribute and array:
(field_helpers -
[:label, :check_box, :radio_button, :fields_for, :hidden_field, :file_field]).each
do |selector|
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2012 Dec 03
2
Stop User from Changing URL
I have an authentication and autherization system built on the same
lines outlined by Michael Hartl, rails tutorial.
Here is the employees_controller.rb:
class EmployeesController < ApplicationController
before_filter :signed_in_employee, only:
[:index, :edit, :update]
before_filter :correct_employee, only:
[:edit, :update]
etc
etc