Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/find_by_param.rb
View
2  lib/find_by_param.rb
@@ -85,7 +85,7 @@ def make_permalink(options={})
if self.column_names.include?(options[:field].to_s)
options[:param] = options[:field]
- before_save :save_permalink
+ before_validation :save_permalink, :on => :create
end
self.permalink_options = options

No commit comments for this range

Something went wrong with that request. Please try again.