Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

respond to missing method #1483

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

xiaohui-zhangxh
Copy link

it's useful to check if a condition is given from params.

<% if @q.respond_to?(:name_cont) %>
  <p>You're searching name ... </p>
<% end %>

xiaohui-zhangxh and others added 2 commits March 20, 2024 10:15
it's useful to check if a condition is given from params.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants