theSteveMitchell / after_party

Automated post-deploy tasks for Ruby/Rails. Your deployment is the party. This is the after party
MIT License
241 stars 50 forks source link

No model class TaskRecord is created? #21

Closed mxavi closed 8 years ago

mxavi commented 8 years ago

I don't if I am right, but I haven't seen a TaskRecord class after I have run "rails generate after_party:install" command. Is that a problem?

In addition, after I ran "rails generate after_party:task" command this line was generated: "TaskRecord.create :version => '20151217165103'"

Then I've got 'Can't mass-assign protected attributes: version' error

theSteveMitchell commented 8 years ago

You should be able to access it as "AfterParty::TaskRecord"

Can you tell me which version of Rails and this gem you are using? There was a previously reported issue that should be fixed now with Rails 3.

theSteveMitchell commented 8 years ago

Will reopen if the issue persists.

chrisdrappier commented 8 years ago

I'm having this issue now. rails 4.2.7.1 and after_party 1.10.0 the generated task is calling AfterParty::TaskRecord.create version: '20161018150304' @theSteveMitchell was there a resolution?