Displaying 3 results from an estimated 3 matches for "artist_old".
Did you mean:
artist_id
2009 Mar 11
1
NoMethodError for select_tag
...and I have come
across a problem where
<%= f.label :artist_id %><br />
<%= f.select_tag(:artist_id, options_for_select([[''choose one'',
'''']] + @artists.collect {|art| [art.name, art.id]}, @album.artist_id))
%> (Old artist info:<%= @album.artist_old%>)
gives
undefined method `select_tag'' for #<ActionView::Helpers::FormBuilder:
0x21f86f8>
however, when I just do a select, I can get a drop down menu that is
just much uglier
<option value =3>Coldplay</option> ect...
Any suggestions?
--~--~---------~--~----~----...
2010 Aug 08
1
help me
i am creating an aplication where table name albums width attributes
CREATE TABLE albums ( id int(11) NOT NULL auto_increment,
title varchar(255) NOT NULL default '''',
artist_old varchar(255) NOT NULL default '''',
release_date datetime NOT NULL default ''0000-00-00 00:00:00'',
genre varchar(50) NOT NULL default '''',
created_at datetime NOT NULL default ''0000-00-00 00:00:00'',
updated_at datetime NOT NULL def...
2010 Aug 08
5
Ruby 1.8.7 and openssl failed compile
I got this error:
ossl_ssl.c: In function ?ossl_sslctx_get_ciphers?:
ossl_ssl.c:626:19: error: ?STACK? undeclared (first use in this
function)
ossl_ssl.c:626:19: note: each undeclared identifier is reported
only once for each function it appears in
ossl_ssl.c:626:25: error: expected expression before ?)? token
ossl_ssl.c:629:47: error: expected expression before ?)? token