I know some ways to check if parameter is not nil
if param[:some_value]
if param[:some_value].present?
if !param[:some_value].nil? #unless param[:some_value].nil?
if !param[:some_value].blank? #unless param[:some_value].blank?
Which one is correct and most popular? What is the difference between them?
I'd rather use if param[:some_value] because it is simplest and shorterst.