search for: rugowski

Displaying 8 results from an estimated 8 matches for "rugowski".

2006 Sep 12
2
Generate JS from RoR - strange delay with send_data
...pid]).each {|x| output_data<< GENERATE_JS_CODE_FROM_POINTS } send_data(output_data, :content => "text/javascript") end I''m using Rails 1.1.6. Or maybe there is some other way to generate ''custom'' JS not in .rhtml? Best regards, Witold Rugowski http://nhw.pl/ -- Posted via http://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-/JYPxA39Uh5TLH3Mbo...
2008 Sep 04
3
MySQL connection collation
Hi! I have ran on problem with collations. In database.yml I have set: encoding: utf8, but when in console run: >> ActiveRecord::Base.connection.collation => "latin1_swedish_ci" It is Rails 2.1, mysql gem 2.7, mysql 5.1.22. This leads to errors like: Mysql::Error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation
2008 Oct 24
4
AR object return nil on save
...not return nil? I''m using ruby 1.8.6-p111 on Windows, Rails 2.1.2. Tomorrow I will try to run it on some Linux with newer Ruby. I did remove all plugins - no change. Commented out all Reservation model''s validations, functions, etc. No change. What else I can try? -- Witold Rugowski Ruby on Rails freelancer http://nhw.pl/wp/ (EN blog) http://nhw.pl/pl (PL blog) --~--~---------~--~----~------------~-------~--~----~ 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...
2007 Apr 23
3
Troubles with using gems in Rails
...;' => [] irb(main):014:0> ActiveRecord::Acts::Taggable => ActiveRecord::Acts::Taggable What I''m doing wrong? My environment: $ ruby --version ruby 1.8.5 (2006-12-25 patchlevel 12) [i386-freebsd6] $ gem list rubygems-update rubygems-update (0.9.2) Best regards, -- Witold Rugowski http://nhw.pl/wp/ (EN blog) http://nhw.pl/pl/ (PL blog) -- Posted via http://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 ema...
2006 Jul 20
3
Output to browser in .rhtml templates
Hi! In .rhtml template I''m trying to create some output, which should be sent to browser. But this is inside <% %> not <%= %>, so how can it be accomplished? Default output is directed to log file, so puts "output" does not send to browser but to log file... -- Posted via http://www.ruby-forum.com/.
2006 May 04
0
Debugging live app
...way to get such feature? Simple require ''debug'' in irb to gain access to ruby debugger hangs whole app ;-)) For me RDT plugin (which looks like it have such feature) is no solution, since I''m working via SSH, and can not run Eclipse on development server. -- Witold Rugowski http://nhw.pl -- Posted via http://www.ruby-forum.com/.
2006 May 13
0
Rails version locking
...rails version, later goes to envionment.rb, and happily :)) fails. Is some nice way to lock version, other than checking out whole rails into vendor sub directory, or hack boot.rb? More on this topic: http://nhw.pl/wp/2006/05/13/continuing-with-rails-version-locking/ Best regards, -- Witold Rugowski http://nhw.pl -- Posted via http://www.ruby-forum.com/.
2007 Aug 22
2
Sanitize my params and the create method
If I call .create on the param structure, are the parameters being passed to the create method automatically sanitized for me? e.g. Journalentry.create(param[:journalentry]) Do I have to worry about any malicious scripting making its way into the creation of the record? Thanks. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this