[Rails] how upload file

2009-05-24 Thread pleb...@gmail.com
Hello, i wonder about upload file in rails because i want user can browse the file . what fuction that i use? and please explain about upload file to me because i never do it. thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[Rails] how hidden field

2009-05-06 Thread pleb...@gmail.com
Dear all, i wrote script in view like this, % form_for :seq do |form| % fieldset legendSource Information/legend div class=form_row label for=seq_idUser ID /label %= form.text_field :user_id, :value = session [:user_id],:size=10 % /div

[Rails] Re: Need Ruby on Rails Developer / NY

2009-04-30 Thread pleb...@gmail.com
pls,give me the details. thank you. On May 1, 6:18 am, Shveta shveta.ilw...@gmail.com wrote: Hi Folks, We need a Ruby on Rails Developer for a position in NY . This would be a year long project. If you feel interested, please get ack to me ASAP at shv...@prokarma.com Thanks, Shveta

[Rails] error about will_paginate plug in

2009-04-02 Thread pleb...@gmail.com
Hello , i stall will_paginate plug in by using mkdir vendor/plugins/will_paginate wget -nv http://github.com/mislav/will_paginate/tarball/master -O- | \tar xzv -C vendor/plugins/will_paginate --strip 1 i get this mislav- will_paginate-651be8d6656bdf2378731d91a8badbaa2556/.gitignore

[Rails] how to grant table in rails

2009-04-01 Thread pleb...@gmail.com
i want to know about grant table in rails. Have anyone helps me to give idea about grant table in rails? thank you. -__- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this

[Rails] pls,explain about search action

2009-03-29 Thread pleb...@gmail.com
Hello, i want create web page for searching items in database. i try to run code to find items in script/console it's work.but i have problem about show results after find items in database finish. pls, explain me what next step that i can do. def search @title = Search if

[Rails] how to add onchanget event to select field

2009-03-28 Thread pleb...@gmail.com
Hello, I would like to add javascript 'onChange' event handling for a select field, such as div class=form_row label for=s_modifyModifiers/label %= form.select :s_modify, ([ Frequency, Genotype, Germline, Group, Haplotype, , Metagenomic, Pathovar, Plasmid-name, Plastid-name,

[Rails] about show list

2009-03-26 Thread pleb...@gmail.com
hello, i want to create database for individual user . when user login and add sequences in to database .the web page show list of sequences that user have in database. but when i try show the list of of sequences .it's show all list of sequence in database. such as the total sequences that

[Rails] Couldn't find without an ID

2009-03-24 Thread pleb...@gmail.com
hello , i have problem when i want to show page after user submit data into database. this is code in controller class ComponentsController ApplicationController def index end def databases @title = Database if request.post?and params[:seq]

[Rails] install rubygems

2009-03-11 Thread pleb...@gmail.com
i install ruby 1.8.8 on ubuntu and when i install rubygem by code are: wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz tar xzvf rubygems-1.3.1.tgz cd rubygems-1.3.1 but i used this command is sudo ruby setup.rb i get error is

[Rails] Problem with select_tag

2009-02-27 Thread pleb...@gmail.com
i create drop-down memu for organelle by using select_tag but problem is can't get value for form select_tag to database seqfeature but form.text_field ,it's work , i don't understand why? pls help me ## code for veiw.rhtm: %