Hello there, what I need is a method to find out if a column is
present within a table giving me back a boolean value. Something like:
Mytable.columnpresent(‘my_column’)
Thank you very much for your help.
Best!!
Paco Reyes
Interaction Designer
Hello there, what I need is a method to find out if a column is
present within a table giving me back a boolean value. Something like:
Mytable.columnpresent(‘my_column’)
Thank you very much for your help.
Best!!
Paco Reyes
Interaction Designer
Hello there, what I need is a method to find out if a column is
present within a table giving me back a boolean value. Something like:Mytable.columnpresent(‘my_column’)
Mytable.respond_to?(‘my_column’) returns a boolean.
Thanks, it works fine.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs