You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defself.username_available?(username,email=nil)lower=username.downcasereturnfalseifreserved_username?(lower)returntrueif !User.exists?(username_lower: lower)# staged users can use the same username since they will take over the accountemail.present? && User.joins(:user_emails).exists?(staged: true,username_lower: lower,user_emails: {primary: true,email: email})end
We are basically there. The tests in the Discourse app are underspecified - so the synthesizer gives some other program. Need to come up with a good test.
Finally get to synthesis of something like:
Blockers:
The text was updated successfully, but these errors were encountered: