Welcome to Working With Rails

 

Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
How to show dropdown button in view from database
5 Posts
How to show dropdown button in view from database

Hi all, Im new to Rails and Ruby.

How to generate a select button that data populate from database ?

<!-- i want a category select dropdown here-->

<br />

Hi,

use following syntax :

Good Luck ;)

-Ganesh K

Person
Jruby, Ruby, Rails Programmer
Sign In To Rate Post

i got this error.any idea?

syntax error, unexpected keyword_end, expecting ')' '); end

Hi,

try following -

or

I guess you are new in this technology..!!

Good Luck ;)

-Ganesh K

Person
Jruby, Ruby, Rails Programmer
Sign In To Rate Post

Just wishing you good luck!!Hope it research paperhelps!!!

5 Posts
Login to add your message