by aph7824 · 12y ago · 0 comments
here: t.string "ip_address"
@link = Link.find_by_code!(params[:id])
then if that link.hits.find_by_ip_address(request.remote_ip) == nil Continue with adding a .new(:ip_address => request.remote_ip)
No comments yet.