[Rails] Re: Re: Re: How to create embedding code in ror

2010-06-13 Thread Yudi Soesanto
/javascriptpolstaEmbed('25cf2273474a99d9a0809d40bc8b495b', 'http://polsta.net/')/script Is there possible? Do I need to create embedding.js? How I read those script? Yudi Soesanto Peter De Berdt wrote: On 09 Jun 2010, at 14:25, Yudi Soesanto wrote: Thanks for yorur help Peter. Do you have

[Rails] Data Type Question

2010-03-09 Thread Yudi Soesanto
Hi guys, I have this situation, #migration data class CreateStats ActiveRecord::Migration def self.up create_table :stats do |t| t.integer :points t.integer :assists t.integer :blocks t.integer :turnovers end def self.down drop_table :stats end end

Re: [Rails] Re: Data Type Question

2010-03-10 Thread Yudi Soesanto
to have float value. How I can assign float value in stat class? Yudi Soesanto On Wed, Mar 10, 2010 at 11:07 PM, Robert Walker li...@ruby-forum.comwrote: Yudi Soesanto wrote: How i can store integer data type and when application display the data back (Since it will do calculation

[Rails] Showing video questions

2010-03-12 Thread Yudi Soesanto
advise? Yudi Soesanto -- 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

Re: [Rails] Re: Showing video questions

2010-03-12 Thread Yudi Soesanto
Thanks for your reply. However, I am looking for pop up windows for viewing video. Yudi Soesanto On Sat, Mar 13, 2010 at 3:33 AM, Fernando Perez li...@ruby-forum.comwrote: Hi, I use Flowplayer at my website digiprof.tv , check it out and steal the html+js code if that's what you need

[Rails] Upgrading rails, ruby and gems

2010-03-14 Thread Yudi Soesanto
Hi guys, Is there any good documentation to upgrade rails, ruby and supported gems? I use mac tiger. Also, what is the stable version of ruby? Thanks, ys -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email

Re: [Rails] Re: Linkedin plugin

2010-03-14 Thread Yudi Soesanto
Thank for your help. Yudi Soesanto On Sun, Mar 14, 2010 at 11:53 AM, Josiah Ivey josiah.i...@gmail.com wrote: There is the Linkedin gem by Wynn Netherland: http://github.com/pengwynn/linkedin On Mar 14, 9:52 am, soesa...@gmail.com wrote: Is there any plugins to connect to linkedin

[Rails] Error running mysql in ror

2010-03-14 Thread Yudi Soesanto
I just upgraded rails 2.3.5 and I got the error when I tried to run my application. Here few information: - My OS Mac Tiger - Rails version 2.3.5 - Ruby version ruby 1.8.6 - gem version 1.3.6 - I run command: which rails /usr/local/bin/rails - I run command: which ruby /usr/local/bin/ruby

Re: [Rails] Re: Error running mysql in ror

2010-03-15 Thread Yudi Soesanto
manually, make sure you have a matching collation) Any thought? On Mon, Mar 15, 2010 at 5:55 AM, Frederick Cheung frederick.che...@gmail.com wrote: On Mar 15, 5:42 am, Yudi Soesanto soesa...@gmail.com wrote: I just upgraded rails 2.3.5 and I got the error when I tried to run my application

Re: [Rails] Re: Error running mysql in ror

2010-03-15 Thread Yudi Soesanto
, 10:06 am, Yudi Soesanto soesa...@gmail.com wrote: *from my existing rails application (I created from previous rails 2.0.2), I got this error when I run my application.* NameError: uninitialized constant MysqlCompat::MysqlRes That usually means that it couldn't load the mysql C extension

Re: [Rails] Re: Error running mysql in ror

2010-03-15 Thread Yudi Soesanto
: On Mar 15, 10:29 am, Yudi Soesanto soesa...@gmail.com wrote: Ok, used 2 different command: irb and ruby script/console. *I use irb and run this command:* irb(main):001:0 require 'mysql' LoadError: no such file to load -- mysql from (irb):1:in `require' from (irb):1

Re: [Rails] Re: Error running mysql in ror

2010-03-15 Thread Yudi Soesanto
driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. rake aborted! Failed to lookup Init function /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/mysql.bundle (See full trace by running task with --trace) any idea? Yudi Soesanto On Mon, Mar 15

Re: [Rails] Re: Error running mysql in ror

2010-03-15 Thread Yudi Soesanto
(0.8.6) tzinfo (0.3.3) validatable (1.6.7) will_paginate (2.2.2) xml-simple (1.0.11) ym4r (0.6.0) youtube-g (0.4.9.9) ZenTest (4.2.1, 3.9.1) Do you guys have any suggestion? Yudi Soesanto On Mon, Mar 15, 2010 at 7:32 AM, Yudi Soesanto soesa...@gmail.com wrote: I removed mysql 2.8 gem

Re: [Rails] Re: Error running mysql in ror

2010-03-17 Thread Yudi Soesanto
My problem is solved. I reinstall and upgrade mysql and it is working good now. Yudi Soesanto On Mon, Mar 15, 2010 at 7:00 PM, Yudi Soesanto soesa...@gmail.com wrote: I have installed current mysql gem 2.8 I tried these combination but I still get the error * sudo gem install mysql -v 2.7

Re: [Rails] Re: Upgrading rails, ruby and gems

2010-03-17 Thread Yudi Soesanto
Thanks for your help. I reinstall and upgrade mysql and it is working good now. Yudi Soesanto On Tue, Mar 16, 2010 at 2:04 AM, Robert Walker li...@ruby-forum.com wrote: Yudi Soesanto wrote: Hi guys, Is there any good documentation to upgrade rails, ruby and supported gems? I use mac

[Rails] how to preserve the value from the other action controller

2010-03-19 Thread Yudi Soesanto
@my_value = params[:preserve_value] end def foo_two puts @preserve_value end I don't want to use session or global variable. any suggestion? Yudi Soesanto -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email

Re: [Rails] Re: Rails + Mysql

2010-03-19 Thread Yudi Soesanto
Jose, What rails version and mysql version are you using? Do this: *rails -v* *mysql --version* I have the same issue as your after I upgraded to rails 2.2.2 and finally, I got it work What I did, I reinstall mysql and it worked ok now. Yudi Soesanto 2010/3/18 José Luis Romero tangu

Re: [Rails] how to preserve the value from the other action controller

2010-03-19 Thread Yudi Soesanto
Thanks for your reply. I will do research on memcached Yudi Soesanto On Fri, Mar 19, 2010 at 5:36 AM, Andy Jeffries andyjeffr...@gmail.comwrote: On 19 March 2010 08:12, Yudi Soesanto soesa...@gmail.com wrote: Hi, Anyone knows how to preserve the value from the previous action controller

[Rails] Plugins questions

2010-03-19 Thread Yudi Soesanto
Hi, I want to create a ruby on rails application that has user login and user role. What is a good plugin to use? Thanks for your response in advance. Yudi Soesanto -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group

Re: [Rails] Plugins questions

2010-03-19 Thread Yudi Soesanto
Thanks for your reply I read from http://github.com/be9/acl9#readme and it said that Acl9 is a authorization solution, so you will need to implement authentication by other means. I need authentication plugins too. So what is the better one? Thanks, Yudi Soesanto On Fri, Mar 19, 2010 at 6:21

Re: [Rails] Plugins questions

2010-03-19 Thread Yudi Soesanto
Thanks mahesh. I will try using restful. Thanks, Yudi Soesanto On Fri, Mar 19, 2010 at 7:01 AM, nagarani gajjala gajjala.nagar...@gmail.com wrote: hi thanks for the reply i already did with restful routing i am new to rails development it is giving the same error for me can you give any

Re: [Rails] Re: Rails + Mysql

2010-03-19 Thread Yudi Soesanto
doesn't work, try to reinstall mysql server. Good luck, Yudi Soesanto 2010/3/20 José Luis Romero tangu...@gmail.com *mysql --version mysql Ver 14.14 Distrib 5.1.44, for redhat-linux-gnu (i386) using readline 5.1 *rails -v Rails 2.3.5 On Mar 19, 4:19 am, Yudi Soesanto soesa

[Rails] Putting Sessions in the Database

2010-03-29 Thread Yudi Soesanto
Hi, I have rails version 2.3.5. How I can use session? is there any documentation how to use it for rails 2.3.5? Thanks, Yudi Soesanto -- 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

[Rails] Using AWS RDS with Rails

2010-04-23 Thread Yudi Soesanto
Guys, Could you give pointer how I can use AWS RDS with rails? Is there any plugins to accomplish this? Thank you for you help. Yudi -- 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

Re: [Rails] Using AWS RDS with Rails

2010-04-23 Thread Yudi Soesanto
To: rubyonrails-talk@googlegroups.com Subject: Re: [Rails] Using AWS RDS with Rails Hi Yudi, On Fri, Apr 23, 2010 at 11:59 AM, Yudi Soesanto soesa...@gmail.com wrote: Guys, Could you give pointer how I can use AWS RDS with rails? Is there any plugins to accomplish this? Assuming you've already got

[Rails] submit a form vs refresh a form

2010-05-15 Thread Yudi Soesanto
of payment again? So user will get charge twice? How I can avoid user to resubmit a page with refresh? or how my code can capture what is user doing? refresh the page or submit a form? Thanks, Yudi Soesanto -- You received this message because you are subscribed to the Google Groups Ruby on Rails

Re: [Rails] Rails acts_as_* plugins, with parameters

2010-05-23 Thread Yudi Soesanto
--Original Message-- From: Rick DeNatale Sender: rubyonrails-talk@googlegroups.com To: rubyonrails-talk@googlegroups.com ReplyTo: rubyonrails-talk@googlegroups.com Subject: Re: [Rails] Rails acts_as_* plugins, with parameters Sent: Feb 25, 2010 20:08 On Thu, Feb 25, 2010 at 7:32 AM, Paul

Re: [Rails] Rails acts_as_* plugins, with parameters

2010-05-23 Thread Yudi Soesanto
J --Original Message-- From: Rick DeNatale Sender: rubyonrails-talk@googlegroups.com To: rubyonrails-talk@googlegroups.com ReplyTo: rubyonrails-talk@googlegroups.com Subject: Re: [Rails] Rails acts_as_* plugins, with parameters Sent: Feb 25, 2010 20:08 On Thu, Feb 25, 2010 at 7:32 AM,

[Rails] How to embed html to other site

2010-06-04 Thread Yudi Soesanto
=polstalinkb10e419713f3aefb4c4d3741936ed8a9test/ascript type=text/javascript src=http://polsta.net/javascripts/embedding.js; /scriptscript type=text/javascriptpolstaEmbed('b10e419713f3aefb4c4d3741936ed8a9', ' http://polsta.net/')/script Yudi Soesanto -- You received this message because you are subscribed to the Google

[Rails] How to create embedding code in ror

2010-06-08 Thread Yudi Soesanto
Hi guys, Could you give me a sample or link for creating embedding code in ruby on rails? Thanks, Yudi Soesanto -- 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

[Rails] Re: How to create embedding code in ror

2010-06-09 Thread Yudi Soesanto
, Ys Marnen Laibow-Koser wrote: Yudi Soesanto wrote: Hi guys, Could you give me a sample or link for creating embedding code in ruby on rails? What do you mean by embedding code? Thanks, Yudi Soesanto --  Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org Sent

[Rails] Re: Re: How to create embedding code in ror

2010-06-09 Thread Yudi Soesanto
Thanks for yorur help Peter. Do you have link or tutorial guide in the internet? I am new with this. Yudi Peter De Berdt wrote: On 09 Jun 2010, at 08:57, Yudi Soesanto wrote: What I am trying to do is: I creating a survey website. User can register to create a survey and this survey can