-
Notifications
You must be signed in to change notification settings - Fork 0
Home
WiktoriaRozanska edited this page Jun 6, 2023
·
1 revision
- Read guidelines;
- Use an overcommit tool;
- Use ENVs;
- If you would like, you can run the app through the Docker. Rebuild the Docker system if you see in commit/PR changes:
-
db/schema.rb
; -
db/migrate/
; -
Gemfile
,Gemfile.lock
.
-
- Method convention. In:
- Serializers:
- array - use prefix
collect_
; - value - use prefix
provide_
.
- array - use prefix
- Controllers:
- collection - use suffix
_scope
; - object - user suffix
_load
.
- collection - use suffix
- Serializers:
- Get issue title without
b |
:-
text-to-speech (TTS) readjust logic
.
-
- Execute on it
parameterize.underscore
:-
'text-to-speech (TTS) readjust logic'.parameterize.underscore
→text_to_speech_tts_readjust_logic
.
-
- Concat just issue ID with the result from point 2:
-
280_text_to_speech_tts_readjust_logic
.
-
- From
master
do$ git checkout -b CIAS-280_text_to_speech_tts_readjust_logic
.
This is a special branch where we hold commits with features which will be implemented in:
- next iteration;
- needed by other tasks;
- not ready now;
- placeholders;
- not in current task scope but it'll be helpful in another task.
- Title - concat ID issue with the title from Branch#1;
- Body - use provided placeholder.
- Always squash unless PR contains a lot of features, then squash but to fewer commits;
- Always rebase.
$ bundle exec rails c
u = User.new(email: '[email protected]', first_name: 'me', last_name: 'new', password: 'azerty', roles: ['admin'])
u.confirm
u.save(validate: false)
u = User.find_by(email: '[email protected]')
u.password = 'azerty'
u.save(validate: false)