Skip to content

Conversation

@pmckernin
Copy link

Also, edited wording talking about force_sign_in

jelaniwoods and others added 17 commits November 21, 2019 13:10
Putting all of the draft:account actions into one controller,
____AuthenticationController (I believe that this is the pattern Devise
follows?); to make it easier to see in one place and understand, and
skip the :force____sign_in before_action for signing up/in a person opts
in to that.

I believe the older approach grew organically out of adding
authentication to an existing tutorial project while I was recording a
video (photogram-gui => photogram-signin) and then we codified it in
this gem.

I also replace `session.fetch()` with `session[]` temporarily because
Rails has added `fetch` itself; our monkeypatch now has different
behavior than the canonical method. After this quarter, we'll go back to
`.fetch`. In preparation for that, I replace
`ActiveRecord::Relation#at(0)` with `.first` so that the gem will
ultimately be able to be used without our monkeypatches.
variables were changed to be more current with
our current teachings in class.  The singluar
variables were moved to @the_ and the plural
were changed to @list_of.  We used the gem
indefinite_article which helped with the naming
of the block variables in the index page.  This gem
needed to be initalized in three different places.

wip

added indefintite_article gem

wip

wip

wip

wip

wip

wip

wip

Require gem in resource_generator.rb

update gemspec

removed require from resource generator

wip"
"

added indefinitize to all remaining block variables

added one more @the_ to the create action

added @the_ to update action

added @the_ to the redirect in update

forgot a _

removed require from resource_generator.rb

needs to have require 'indefinite_article' in the resource generator.rb file

removed git_source from the gemfile

removed a space from gemfile

changed the single quotes to double and removed the extra space at the beginning of the index file
the instance variables from the draft:resource
controller.  I replaced these with regular variables
because they were not being brought to a html page.
This resovles issues #93.
in the summer 2020 quarter. This resolves #92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants