Rachel L. Farley was the consummate “cool” teacher at East High School. In August, she allegedly invited students over to her house, where they smoked weed together.

Denver police didn’t think her plan was so cool.

Early Tuesday morning, officers arrested Farley, a former East High teacher, for investigation of a felony charge of contributing to the delinquency of a minor.

Farley was booked into the jail at 6:52 a.m. Tuesday. Her advisement is scheduled for 1:30 p.m. Wednesday in Denver County Court, according to court records.

The pot-smoking incident happened Aug. 8, 2017, at Farley’s home, 1609 Glencoe St.

Farley, then a math teacher, had invited students from her advancement via individual determination class to her house to decorate clothing for freshman day.

A student left for a while, and when she returned, Farley and the other students were smoking marijuana, according to an arrest warrant affidavit. Farley provided the marijuana to the students, the report says.

Denver police Detective Christopher Matlock interviewed nine students who had been at the party. Multiple students admitted they smoked marijuana at the party. The students were 17 years old, the report says.

“The students all stated separately that the suspect provided the marijuana and introduced it to the group to smoke,” Matlock’s report says.

The officer showed pictures of Farley to the students, who identified her as the teacher who gave them the marijuana.

Farley resigned Aug. 31 to be a dance instructor, according to her Facebook page. She subsequently volunteered to work at East High with drama and music teachers, DPS spokeswoman Jessie Smiley said Wednesday.

When the unidentified student reported the pot party Feb. 23, Farley was called in by school officials to explain what happened. She was told she could no longer volunteer.

“There was nothing notable about her resignation — she simply resigned,” Smiley wrote in a news statement.

“When DPS received these allegations about her in February, we asked her not to volunteer any more at East,” Smiley said. “She has been blocked from being a volunteer, having a (contractor agreement), or returning to employment with DPS.”

According to her Facebook page Farley resigned from teaching to become a dance instructor.

In a video, she urged people to attend her first class when she returned to teaching at East High at the beginning of 2018.

“I’m teaching my first class tomorrow. It’s all about hugging. How to give a great hug and how to receive a great hug. The art of the hug. Come hang out with us. Happy New year.”

In the video, Farley explained why she stopped teaching school and became a dance instructor.

“For me as an instructor, I intend to use dance as a platform to create a safe environment where people can experience vulnerability and practice empathy and to feel human connection. Having a chance to touch each other in a non-sexual way and be reminded of our humanity.”