Ok @KhaledHelmy , I just closed rails server and then typed 'rake
db:schema:load ' and then restarted the server and checked the website and *now
every thing is working fine* after clicking sign up for the
student/TA/Lecturer *(I have no idea what happened !)*. I have attached a
photo after the signing up was complete.


As for the screen shot you asked, what I understood is that you want a
screen shot for the case where the student is allowed to  sign up with
'Faculty' and the 'Major' fields as a number (e.g '12356') right ? If so I
have attached a screen shot from the data entered in the db after signing
up.






On Mon, Apr 21, 2014 at 1:09 AM, Lin Sara <linsara1@gmail.com> wrote:

> @khaledHelmy Here is the screen shot :-
>
>
> On Mon, Apr 21, 2014 at 12:57 AM, Mussab ElDash <notifications@github.com>wrote:
>
>> In tutor/app/controllers/application_controller.rb:
>>
>> > @@ -6,31 +6,44 @@ class ApplicationController < ActionController::Base
>> >    	protect_from_forgery with: :exception
>> >  	before_action :update_sanitized_params, if: :devise_controller?
>> >
>> > -	#UPDATE ALL FIELDS
>> > +	# [User Authentication Advanced - Story 5.9, 5.11, 5.12, 5.16]
>> > +	# Permits some fields to be passed through sign up forms to update the lecturer,
>> > +	# student, and teaching_assistant models
>>
>> @ahmedhagii <https://github.com/ahmedhagii> @Ahmed-Moataz<https://github.com/Ahmed-Moataz>
>>
>> —
>> Reply to this email directly or view it on GitHub<https://github.com/alaashafaee/Coolsoft-14/pull/279/files#r11799719>
>> .
>>
>
>