osem-fcy/app/models
Siddhant Bajaj 7ce816e146 Fixed DeleteEventSchedules issue
Issues with DeleteEventSchedules method in conference controller:
1.It deletes EventSchedules of all the conferences that are not in the
hours range. Instead it should delete EventSchedules of those events
only that belong to that particular conference only.
2.If we set invalid start or end hour attribute of a conference then
also EventSchedules gets deleted even though conference is not
successfully updated.
Fixed both the issues and added test for the same.
2017-04-25 18:00:24 +05:30
..
ahoy Remove program model from ahoy 2016-04-09 15:01:46 +05:30
.gitkeep First checkin 2013-01-07 09:04:09 +01:00
ability.rb Add permission to access admin/shedule by cfp#1432 2017-04-13 20:45:19 +03:00
answer.rb Introduce strong parameters 2015-12-23 11:36:50 +02:00
campaign.rb Setup basic Revision History page 2016-08-12 13:35:56 +05:30
cfp.rb enable style/dotposition rubocop cop 2017-04-06 23:19:58 -04:00
comment.rb Enable Rails/Validation Rubocop cop 2017-03-28 21:47:31 +02:00
commercial.rb Setup basic Revision History page 2016-08-12 13:35:56 +05:30
conference.rb Fixed DeleteEventSchedules issue 2017-04-25 18:00:24 +05:30
contact.rb Setup basic Revision History page 2016-08-12 13:35:56 +05:30
difficulty_level.rb Setup basic Revision History page 2016-08-12 13:35:56 +05:30
email_settings.rb Rename 'ConferenceController' to 'ConferencesController', and 'ProposalController' to 'ProposalsController' 2016-09-30 18:49:44 -04:00
event.rb implement manual event management and support for multiple speakers per event 2017-04-13 17:15:21 +03:00
event_schedule.rb Added validation in EventSchedule model and test in event_schedule_spec 2017-04-22 01:20:05 +05:30
event_type.rb Add schedule interval as attribute of a program 2017-04-01 21:39:20 +03:00
event_user.rb Introduce strong parameters 2015-12-23 11:36:50 +02:00
events_registration.rb Setup basic Revision History page 2016-08-12 13:35:56 +05:30
lodging.rb Setup basic Revision History page 2016-08-12 13:35:56 +05:30
openid.rb Fix basic style issues with rubocop 2014-07-21 15:05:58 +02:00
payment.rb add more tests to check Stripe exceptions 2016-08-15 10:59:36 +05:30
program.rb Add schedule interval as attribute of a program 2017-04-01 21:39:20 +03:00
qanswer.rb Introduce strong parameters 2015-12-23 11:36:50 +02:00
question.rb Enable Style/RedundantSelf Rubocop cop 2017-03-28 13:27:52 +05:30
question_type.rb Introduce strong parameters 2015-12-23 11:36:50 +02:00
registration.rb Enable Rails/Validation Rubocop cop 2017-03-28 21:47:31 +02:00
registration_period.rb enable style/dotposition rubocop cop 2017-04-06 23:19:58 -04:00
resource.rb ability to track resources used in conference 2017-02-07 14:58:45 +05:30
revision_observer.rb drop dietary choices, social events, and html_export_path 2016-04-09 16:29:20 +03:00
role.rb Use name/title instead of ID for associated object when showing changes 2016-09-26 17:21:45 +05:30
room.rb Delete EventSchedules when a Room is deleted 2016-08-18 16:19:15 +02:00
schedule.rb Track Schedule and EventSchedule 2016-09-26 17:21:45 +05:30
splashpage.rb Setup basic Revision History page 2016-08-12 13:35:56 +05:30
sponsor.rb Enable Rails/Validation Rubocop cop 2017-03-28 21:47:31 +02:00
sponsorship_level.rb Enable Rails/Validation Rubocop cop 2017-03-28 21:47:31 +02:00
subscription.rb Enable Rails/Validation Rubocop cop 2017-03-28 21:47:31 +02:00
target.rb Enable Style/SpaceAroundOperators Rubocop 2017-02-05 19:43:00 +05:30
ticket.rb Enable Rails/Validation Rubocop cop 2017-03-28 21:47:31 +02:00
ticket_purchase.rb Enable Rails/Validation Rubocop cop 2017-03-28 21:47:31 +02:00
track.rb Setup basic Revision History page 2016-08-12 13:35:56 +05:30
user.rb implement manual event management and support for multiple speakers per event 2017-04-13 17:15:21 +03:00
users_role.rb Setup basic Revision History page 2016-08-12 13:35:56 +05:30
vchoice.rb Volunteers, positions and days and volunteers list for admin, volunteering option for attendees 2014-01-01 11:39:59 +02:00
vday.rb Introduce strong parameters 2015-12-23 11:36:50 +02:00
venue.rb Enable Style/RedundantSelf Rubocop cop 2017-03-28 13:27:52 +05:30
visit.rb apply StringLiterals cop (remove double quotes, unless there is string interpolation) 2014-09-02 21:45:07 +03:00
vote.rb Setup basic Revision History page 2016-08-12 13:35:56 +05:30
vposition.rb Enable Rails/Validation Rubocop cop 2017-03-28 21:47:31 +02:00