docs/parameters.md in clowne-1.3.0 vs docs/parameters.md in clowne-1.4.0
- old
+ new
@@ -73,10 +73,10 @@
# Execute custom block with params and parent record as arguments
trait :by_block_with_parent do
include_association :profile, params: Proc.new do |params, user|
{
name: params[:profile][:name],
- email: user.email,
+ email: user.email
}
end
end
end