[Rails] jquery.fancybox not working with rajs template
im using jquery.fancybox to display flv videos. the video has many categories. so i have written a AJAX function to switch the categories. when i load the page the jquery.fancybox works perfectly. if i switch the category with AJAX call that dosent work. NAy body have any idea about this??? -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: paperclip gem install failed
can't run gem --update on Debian based Systems. anyway when i'm try to generate paperclip model (script/generate paperclip album_set photo) the error was /var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ dependencies.rb:440:in `load_missing_constant': uninitialized constant Paperclip::Glue (NameError) from /var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ dependencies.rb:80:in `const_missing' from /home/ozoner/Desktop/PhotoAlbum/vendor/plugins/paperclip/lib/ paperclip/railtie.rb:20:in `insert' from /home/ozoner/Desktop/PhotoAlbum/vendor/plugins/paperclip/rails/ init.rb:2:in `evaluate_init_rb' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:158:in `evaluate_init_rb' from /var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ core_ext/kernel/reporting.rb:11:in `silence_warnings' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:154:in `evaluate_init_rb' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:48:in `load' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb: 38:in `load_plugins' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb: 37:in `each' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb: 37:in `load_plugins' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:369:in `load_plugins' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:165:in `process' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `send' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `run' from /home/ozoner/Desktop/PhotoAlbum/config/environment.rb:9 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/commands/generate.rb:1 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from script/generate:3 -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: paperclip gem install failed
problem fixed with sudo gem install paperclip -v 2.3.1.1 command On Aug 31, 12:29 pm, nirosh kunalan.kand...@gmail.com wrote: can't run gem --update on Debian based Systems. anyway when i'm try to generate paperclip model (script/generate paperclip album_set photo) the error was /var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ dependencies.rb:440:in `load_missing_constant': uninitialized constant Paperclip::Glue (NameError) from /var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ dependencies.rb:80:in `const_missing' from /home/ozoner/Desktop/PhotoAlbum/vendor/plugins/paperclip/lib/ paperclip/railtie.rb:20:in `insert' from /home/ozoner/Desktop/PhotoAlbum/vendor/plugins/paperclip/rails/ init.rb:2:in `evaluate_init_rb' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:158:in `evaluate_init_rb' from /var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ core_ext/kernel/reporting.rb:11:in `silence_warnings' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:154:in `evaluate_init_rb' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:48:in `load' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb: 38:in `load_plugins' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb: 37:in `each' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb: 37:in `load_plugins' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:369:in `load_plugins' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:165:in `process' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `send' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `run' from /home/ozoner/Desktop/PhotoAlbum/config/environment.rb:9 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from /var/lib/gems/1.8/gems/rails-2.3.5/lib/commands/generate.rb:1 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from script/generate:3 -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] paperclip gem install failed
when i'm installing paperclip gem its return err (i18n requires RubyGems version = 1.3.6) the os is ubuntu 10.04 64bit -nirosh- -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Anyboby know to integrate youtube videos in rails app
i have to list all the videos of a youtube user.so how can i do that in my rails project? -nirosh- -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] need help on YouTube_model plugin
I used YouTube_Model plugin to display videos of a user. it works fine but gives only top most 25 results. i dono how to get other videos. Please can anybody help me? -nirosh- -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] how to perform most viewed
i have a poem model. i need to display the most viewed poems. is there any plug inns out there to do this? -nirosh- -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: compass dosent work for me
sudo gem install compass. but getting error when running compass version that populate an error msg (compass: command not found) nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] compass dosent work for me
hi all. i have install compass(followed instructions on compass home page) but when i run the compass command my terminal returns the compass: command not found error. my os is ubuntu, rails version 2.3.5, ruby 1.8 any one has idea??? regards, nirosh. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: compass dosent work for me
*** LOCAL GEMS *** compass (0.10.4) but getting error when running compass version error msg is compass: command not found -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: compass dosent work for me
yes i did install compass gem -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: need pdf gen which is support to Asian languages
i integrate the google indic in my app. So which font i have to use to print those characters in prawn. i almost stuck here. On Jul 10, 4:42 pm, Mark Kremer m...@without-brains.net wrote: While Prawn does support UTF-8, it doesn't mean you can print all Asian characters. To print Asian characters you'll need to have a font (a TTF file if I remember it correctly) that supports them and use that with Prawn, I don't think the built in fonts support Asian characters. On 8-7-2010 18:05, Marnen Laibow-Koser wrote: nirosh wrote: which PDF plug-in is support to Asian languages? i tried prawn PDF::writer both of those dosen't workout for me. any idea?? Prawn should support UTF-8 text. It wouldn't do font fallback last time I tried, though, so you need to select a font that actually contains the characters you want. -nirosh- Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org Sent from my iPhone -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: need pdf gen which is support to Asian languages
i tried so many time but didn't get the proper output yet -nirosh- On Jul 8, 9:05 pm, Marnen Laibow-Koser li...@ruby-forum.com wrote: nirosh wrote: whichPDF plug-in is support to Asian languages? i tried prawn PDF::writer both of those dosen't workout for me. any idea?? Prawn should support UTF-8 text. It wouldn't do font fallback last time I tried, though, so you need to select a font that actually contains the characters you want. -nirosh- Best, -- Marnen Laibow-Koserhttp://www.marnen.org mar...@marnen.org Sent from my iPhone -- Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] need pdf gen which is support to Asian languages
which PDF plug-in is support to Asian languages? i tried prawn PDF::writer both of those dosen't workout for me. any idea?? -nirosh- -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: How to pass array of values from controller to partial
use like this it will send the @myfriendlogin array to partial format.html { render :partial = 'users/dispfriends', :locals ={ :user=@myfriendlogin} -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] two tables in one migration file?
i already have 10_create_comments migration file. that file contains create_table :comments do |t| t.column :title, :text t.column :foto_id, :integer t.column :user_id, :integer t.column :created_at, :datetime t.column :updated_at, :datetime end this is design for photo commenting purpose. i i need another comment setup under the message so how do i use this migration file to that? any ideas? nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: how to pass javascript variable to controller
it says that params[:variable_name] is nil.i tried several ways. but finally non of that working and gives the same nil output. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] one model with two controller?
i have a comment Model. it has already belongs_to :poem entry. is there any way to use this model to another controller (eg:- belongs_to :post) . if it is possible then how do i do the migration and other stuffs please explain a bit. nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] how to pass javascript variable to controller
i have a JavaScript variable and i need to pass that to controller with the remote_function method. how do i pass this? -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: how to pass javascript variable to controller
how do i access the passing variable in controller. i have done the passing variable part and when i use params[:variable_name] it gives error so could u please explain that a bit? nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] remote_function return No action responded error
here i given my codes when i execute this remote_function rails give me this error ActionController::UnknownAction (No action responded to report_poem. Actions: create, destroy, edit, index, new, show, update): in my view span class=report_button onclick= %=remote_function(:url={:action=:report_poem,:id=@poem.id}) %Submit/span in my controller def report_poem @poem = Poem.find(params[:id]) respond_to do |format| format.js end end so anybody know what is the reason is? -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: remote_function return No action responded error
yes and sort it out. there is an entry missed in routes file -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: question on layouts
write the function @ application_controller that can be access in any controller. for more info read abt application controller doc. nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] DISTINCT field name dosen't give the expected output
i used the bellow code to collect the lyrics which are related to particular album and display under the album name. Lyric.find(:all,:select='DISTINCT album_name,title,id,singers',:conditions= [album_name LIKE ?, params[:id] + %]) But the above sql query is not works for me the below query is working but this query only returns the album_name not the other fields. Lyric.find(:all,:select='DISTINCT album_name',:conditions= [album_name LIKE ?, params[:id] + %]) is there any way to do this in rails or sql? advise please. thanks in advance. nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: DISTINCT field name dosen't give the expected output
yes works great the query now i use is SELECT * FROM lyrics WHERE movie_name like 'a%' GROUP BY Movie_name -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] sql statement help
i need to find records which are starts with numeric values. So how can i write the sql query? nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] submit_to_remote dosent work for me
earlier i used submit_to_remote with rails stranded javascript :defaults and that works fine. after that i changed rails :defaults javascript to jquery. now the submit_to_remote dosen't work for me . any Ideas?? -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: link_to_remote is not works for me
I USED the remote function method and fixed that error -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: how do i define and access custom function in model
thanks man thats the right clue now its working -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] how do i define and access custom function in model
i need to define a custom finction in model which is named as count_remaked_users. when i try to access that function from view ( %=User.count_remaked_users%) i'm getting undefined method error. any clue for this?. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] need help about gzip
i need the gzip plugin for rails app any body help me. nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: need help about gzip
thanks for the reply. i have complete my rails app and hosted on hostmonster. but i dono how to enable the gzip on my app.i checked my hosted app with yslow That shows like this Grade F on Compress components with gzip. any idea about this. nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] how to setup gzip on hostmonster
i need to enable gzip on hostmonster,so could u please anyone help me. thx. nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] how to setup gzip rails application
how to setup gzip rails application? -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: dev tool
Aptana RadRail,Netbeans i'm using these 2 for my dev. pretty cool for me try it. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] tamil unicode support rails with mysql
i have a problem with mysql. i have developed an app witch is works on unicode based. everything worked so far. now i migrate the db sqlite3 to mysql then my Unicode characters appear as . any idea to solve this problem. nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: How to install rails gems 2.3.5 on windows
It should work. It worked for me. try gem install rails -v=2.3.5 instead of gem install rails --v=2.3.5 nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: cant run rake on hostmonster
the test ror app is working great when i pulled my app into the web space. there is a error populated. the error is Application error Application failed to start properly check the link www.kavinali.com thanks in advance. nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: does any one knows how to setup ror on hostmonster
the test ror app is working great when i pulled my app into the web space. there is a error populated. the error is Application error Application failed to start properly check the link www.kavinali.com thanks in advance. nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: cant run rake on hostmonster
there is no log files. log folder is empty -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: How to install rails gems 2.3.5 on windows
better remove your ruby folder manually from the C:\ and try to reinstall then try the earlier command -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: does any one knows how to setup ror on hostmonster
after the full setup on hostmonster. i got this message when i go to the default route. any idea Not Found The requested URL /home/index was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 mod_auth_passthrough/2.1 FrontPage/5.0.2.2635 Server at www.kavinali.com Port 80 -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: does any one knows how to setup ror on hostmonster
thanks Brijesh Shah please let me know how to login to the host monster web server console. nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: How to update rails manually
What is the error msg you are getting ?? ang what is the os? -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: does any one knows how to setup ror on hostmonster
what abt the datacase settings?? -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] cant run rake on hostmonster
hi i have setup my rails env on hostmonster but i cant run rake task.error is populated when try to run that the error is Access denied for user . But i can able to login into the mysql with the same user name password. anybody any ideas nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: cant run rake on hostmonster
thanks jason i'll talk to them and get back to u. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] how to save text
hi i'm working on a poem site. everything is ok but i dono how to save the poem with the style which is applied in the text area. so anybody have any idea. sorry for my english. thanks in advance -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: how to save text
thank you for the reply. already the data type is text.but that won't work for me nirosh On Apr 28, 11:41 am, Anubhaw Prakash li...@ruby-forum.com wrote: nirosh wrote: hi i'm working on a poem site. everything is ok but i dono how to save the poem with the style which is applied in the text area. so anybody have any idea. sorry for my english. thanks in advance Data type of the column in which you are saving the poem should be 'TEXT'. -- Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: how to save text
thank you for the reply. already the data type is text.but that won't work for me nirosh On Apr 28, 11:41 am, Anubhaw Prakash li...@ruby-forum.com wrote: nirosh wrote: hi i'm working on a poem site. everything is ok but i dono how to save the poem with the style which is applied in the text area. so anybody have any idea. sorry for my english. thanks in advance Data type of the column in which you are saving the poem should be 'TEXT'. -- Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: how to save text
thanks for the reply. i setup the column as text. but that won't effect. nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: how to save text
thank you eugenio.what i mean is not the font style.i need to keep the poem structure and i want the Google Indic support which is used for Asian language pack. finally i want to keep the poem structure only. all the other features has been implemented. thank you nirosh -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] does any one knows how to setup ror on hostmonster
does any one knows how to setup ror on hostmonster. i'm new to the hosting. so i dono how to set it up. the technical people told me that they don't give any idean abut the ror hosting via live chat. So i need to do this as soon as possible. so please any body help me. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] paperclip plugin not working on windows
the paperclip works on ubuntu but on windows it gives an some error. the error is There were problems with the following fields: Avatar C:/DOCUME~1/ozone/LOCALS~1/Temp/Water lilies,2700,0.jpg is not recognized by the 'identify' command. Avatar C:/DOCUME~1/ozone/LOCALS~1/Temp/Water lilies,2700,0.jpg is not recognized by the 'identify' command any idea ?? i'm almost stuck here thanks -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: Doubt in submit_to_remote?
hi you didnt pass the checkedbox value with the remote call take a look at the locals usage of the submit_to_remote hope this helps you nirosh On Aug 10, 11:53 am, karthik k cse.k.kart...@gmail.com wrote: hi i have one page where i have check boxes , when i select one check box and click the below %= submit_to_remote 'activate', 'Activate', :url = {:action = 'search_activate'} % below is my check box %= check_box_tag agency[agencys_id][] , agency.id% it is not even going to controller in the browser it is showing null object but the id is correct plz help -- Karthik.k Mobile - +91-9894991640 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: formating date and time
THIS IS THE SOLUTION TRY THIS %=DateTime.now.strftime(%B %d %Y)% %= DateTime.now.strftime(%I: %M%P ) % On Aug 8, 3:19 pm, Colin Law clan...@googlemail.com wrote: 2009/8/8 Aashish Kiran rails-mailing-l...@andreas-s.net: I want to display date and time in view as August 7, 2009 at 10:22:02 am. Presently it is displaying in view as 2009-08-07 10:22:02 UTC. Can anyone tell to format date and time. Have a look at strftime. (Did you try googling for ruby format date time, Google is usually quicker than posting here.). Colin -- Posted viahttp://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Simple insert_html RJS working in FF not in Safari
Hi In my case none of the rjs working with any of the browsers. even the page.alert function please let me know the prob error msg is try { } catch (e) { alert('RJS error:\n\n' + e.toString()); alert(''); throw e } -nirosh- On Aug 7, 3:16 pm, Ram yourstruly.vi...@gmail.com wrote: Hi, Im trying to insert a tr into a table. the code is as below. HTML - table id=tab tr !-- SOME tds HERE -- /tr %= render :partial = item, :collection = @order.items % tr id=empty_row td div style=display:none; id=plussign%= add_item_link + %/ div /td !-- MORE tds HERE -- /tr !-- MORE trs HERE -- /table _item.html.erb - tr class=row !-- tds HERE -- /tr helper method - def add_item_link(name) link_to_function name do |page| page.insert_html :before, :empty_row, :partial='item', :object = Item.new end end This works in FF but not in Safari. Any idea what the problem might be? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] rjs works but gives some error
the link_to_remote = div %=link_to_remote Click me,:url= {:action=edit},:update=update_me% /div div id=update_me /div == the rjs (edit.rjs) page.alert test == the error message is try { alert(test); } catch (e) { alert('RJS error:\n\n' + e.toString ()); alert('alert(\test\);'); throw e } == after the error the update_me div isn't updated please help me --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: rjs works but gives some error
hi Fred now its working Thankyou so much nirosh On Aug 7, 9:46 pm, Frederick Cheung frederick.che...@gmail.com wrote: On Aug 7, 5:23 pm, nirosh kunalan.kand...@gmail.com wrote: the link_to_remote = div %=link_to_remote Click me,:url= {:action=edit},:update=update_me% /div Don't use the :update option with an rjs template, pick one or the other. Fred div id=update_me /div == the rjs (edit.rjs) page.alert test == the error message is try { alert(test); } catch (e) { alert('RJS error:\n\n' + e.toString ()); alert('alert(\test\);'); throw e } == after the error the update_me div isn't updated please help me --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] submite_to_remote not works for me
% form_for :todo,:url =todos_path,:html={:name=new_todo} do |f| % p label Title /label %= f.text_field :title,:class=validate[required,length [5,8]] text-input % /p p label Description /label %= f.text_area :description,:rows=4 % /p p label Assign to /label %= select(todo,user_id,@users.map {|u| [u.login,u.id] }) % /p %=f.hidden_field :assigned_by,:value=current_user.id % %= submit_to_remote 'create_btn', 'Create', :url = { :action = 'new' } % % end % any suggestions about this code please let me know what is the error of this code. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: submite_to_remote not works for me
thx to the reply that works for me nirosh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: 2 onchange functions - 1 jquery, 1 prototype - not working in safari
hi i faced the similar prob b4 1 month and then i find out this solution cange the function from onchange to onclick. this onchange not works with IE7 as well.ff works perfectly. nirosh On Aug 7, 9:35 am, Ram yourstruly.vi...@gmail.com wrote: i narrowed down the issue to one line of code in the item_row function. it tries to insert a value into a hidden_field which is kind of hanging inside tr tags. Here's the HTML and JS code.. HTML - tr class=row td/td td/td input class=item_id id=order_item_id name=order[item_id] type=hidden / td %= f.collection_select :item_name, Item.all, :item_for_order, :name, { :name = select, :onchange = item_row($(this));} % /td /tr JS function item_row(element){ id = /* calculation excluded for brevity */ (element).up('.row').down('.item_id').value = id ; //this is the line that fails in safari but works in FF } Anything wrong with my HTML structure that Safari is rejecting? thanks. On Aug 6, 4:51 pm, Ram yourstruly.vi...@gmail.com wrote: Hi all, Im using the jNice plugin on a select box in a form of mine. Im also calling a custom JS function which uses prototype on the same select box. %= f.collection_select :item_name, Item.all, :item_for_order, :name, { :name = select, :onchange = item_row($(this));} % now both jNice and item_row() work in FF when i change the selected value. But it does not work in Safari. In safari, the page jumps to the top when i click on a selection, if i click on it again, jNice works. item_row() does not. Now im not sure what the problem is. Im using jQuery.noConflict to avoid conflict between the two libraries and otherwise, the JS heavy page is working fine. Anyone with any experience/ tips on this one? Vinay. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] update partial after submit need Help
hi here i have a todo manager. i'm render the whole todo with a partial. after i submit a new todo how can i refresh the todo partial samethin lik this div %=render :partial=todos % /div div -- here my new todo submit form /div after the new todo submit form submition i need to refresh the partial todos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] submit_to_remote fails on rails 2.2.2
submit_to_remote fails on rails 2.2.2 and rails 2.3.2 but fully working with 2.0.2 please give me an answer as soon as possible. its very urgent the code is HTML % form_for :todo, @todo, :url = { :action = update_todo } do |f| % div p labelTodo/label %=f.text_field :name% /p p labelDescriptionlabel %=f.text_area :description,:rows=3 % /p p labelDue date/label %=f.text_field :due_date,:class=date-pick dp-applied % /p p labelAssign to/label %=select(todo, assign_to, @project.project_teams.map {|u| [User.find (u.user_id).full_name,u.user_id]}.uniq)% /p p %= submit_to_remote 'create_btn', 'Update', :url = { :action = 'update_todo',:id=@project.id,:todo_id=@todo.id} % /p /div %end% Controller def update_todo @todo = Todo.find(params[:todo_id]) @todo.update_attributes(params[:todo]) @todo.save end --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---