Hi
I have a string
str=pHspan style=font-family: impact,chicago;g/spanenrik
Lundqvist,gspan style=font-family: georgia,palatino;gh nv span
style=font-family: wingdings,zapf dingbats;gnm h fsgfb
g/span/spanthe preternaturally handsome Swedish goalie for the New
York Rangers, may have been named
tried to install render_component plugin with:
ruby script/plugin install git://github.com/lackac/render_component.git
-r rails-edge
This generates a directory in vendors/plugin/render_component but it's
empty.
Please help me
--
Posted via http://www.ruby-forum.com/.
Brijesh Shah wrote:
Subashini Kumar wrote:
How can i choose some n (n is gonna be fixed )records randomly from a
mysql database table from our controller?
Use RAND() function in mysql query...
select * from TABLE_NAME order by RAND() limit N
Yeah !! cool!!! thanks a lot!!!
--
Posted
hi,
I want to display a drop down list and when i select some option from
the drop down list i want to display all the records under that selected
category in the SAME PAGE..
eg ..
%= collection_select(:question,:subject_id ,@subject, :id, :name) %
when i choose a subject i should,
hi,
I want to display a subject drop down list and when i select some option
from
the drop down list i want to display all the questions under that
selected
category in the SAME PAGE and also get a form to add new questions in
the same page.
eg ..
%= collection_select(:question,:subject_id
Sijo Kg wrote:
Hi
Have a look at observe_field
http://api.rubyonrails.org/classes/ActionView/Helpers/PrototypeHelper.html#M001654
Sijo
Hi, i tried like this,
View page:
%= collection_select(:question,:subject_id ,Subject.all, :id, :name )
%
%= observe_field
Hi,
I am new to Rails.I tried developing a basic quiz application.Please
help me out in my doubt.Thanks in advance
% CODE %
class QuizController ApplicationController
def index
# i have retrieved the first five questions from the database for
displaying the #question to user
How can i choose some n (n is gonna be fixed )records randomly from a
mysql database table from our controller?
--
Subashini kumar
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
8 matches
Mail list logo