I keep getting an error when using lazy work.
Job failed to load: `@' is not allowed as an instance variable name.
The challenge is here:
report = Report.find(params[:id]) report.delay.record_fixing( report.records.where(found: nil, pending: nil) ) redirect_to reports_path
And recording fixation
def record_fixing(records) records.search_fullcontact end
The cause of this problem here is the parameters that are passed to the record_fixingie method
record_fixing
ActiveRelation Object(report.records.where(found: nil, pending: nil))
, - , , last_error, , id record_fixing, , .
last_error
id
Source: https://habr.com/ru/post/1533255/More articles:Postgres Insert a rule with a return clause into the view - sql-returningLimit ElasticSearch aggregation by type? - typesWhat is the structure of a valid Python SDK? - pythonAttempting to read write-protected memory - c ++Unable to open virtualenv on WIndows - pythonРок, Бумага, Ножницы, Ящерица, Спок в JavaScript - javascriptusing extern with the same parameter name inside the function - cHashing passwords using true salt of salt or username plus pepper? - securityLaravel 4.1. * Event registration issue with your service provider - laravelAWS Elastic Beanstalk: terminate RDS and then not upgrade application version - amazon-web-servicesAll Articles