Displaying 2 results from an estimated 2 matches for "rashan".
Did you mean:
rasha
2008 May 01
5
Changing text in view with variables
in my view:
<% if @main_singer_1 == @your_singer %>
<% if @main_drummer_1 == @your_drummer %>
i want to have this in a loop so i can change _1
How would I do this.
I have some idea but I am not sure.
[1..20].each do .....
and then replace _1 with each of the numbers
or if someone can show the code to do this.
number = "1"
<% if
2008 Mar 29
3
primary key?
can you use 2 pirmary keys.
the standard user_id key exists but i would also like to use another
key for my links. i am not sure how to implement this. also i don''t
want any auto incrementing of this second primary key that i would
like to use for my relationships.
if there is a good db, model, relationship tutorial out there i would
love to know about it.