[#404611] Looking for Rubyists interested in P2P and privacy — Tony Arcieri <tony.arcieri@...>
Hey there, excuse the spam ;) Hopefully this is relevant enough.
3 messages
2013/08/07
[#409331] Capture HTML table data, pass to Ruby, pass back and display result in HTML text field — Hubert Wagner <lists@...>
Hello :
11 messages
2013/08/04
[#409339] Re: Capture HTML table data, pass to Ruby, pass back and display result in HTML text field
— Hubert Wagner <lists@...>
2013/08/04
Hello Jesus :
[#409340] Re: Capture HTML table data, pass to Ruby, pass back and display result in HTML text field
— Hassan Schroeder <hassan.schroeder@...>
2013/08/04
On Sun, Aug 4, 2013 at 9:18 AM, Hubert Wagner <lists@ruby-forum.com> wrote:
[#409346] Re: Capture HTML table data, pass to Ruby, pass back and display result in HTML text field
— Hubert Wagner <lists@...>
2013/08/04
Thank you all for your assistance (and patience).
[#409336] Rakefile Error - Please Help — "Jennifer T." <lists@...>
Hi,
13 messages
2013/08/04
[#409341] Re: Rakefile Error - Please Help
— Hassan Schroeder <hassan.schroeder@...>
2013/08/04
On Sun, Aug 4, 2013 at 7:41 AM, Jennifer T. <lists@ruby-forum.com> wrote:
[#409349] Re: Rakefile Error - Please Help
— "Jennifer T." <lists@...>
2013/08/04
Hassan Schroeder wrote in post #1117692:
[#409350] Re: Rakefile Error - Please Help
— Hassan Schroeder <hassan.schroeder@...>
2013/08/04
On Sun, Aug 4, 2013 at 1:42 PM, Jennifer T. <lists@ruby-forum.com> wrote:
[#409351] Re: Rakefile Error - Please Help
— "Jennifer T." <lists@...>
2013/08/04
Hassan Schroeder wrote in post #1117715:
[#409356] Re: Rakefile Error - Please Help
— Hassan Schroeder <hassan.schroeder@...>
2013/08/04
On Sun, Aug 4, 2013 at 2:21 PM, Jennifer T. <lists@ruby-forum.com> wrote:
[#409357] Re: Rakefile Error - Please Help
— "Jennifer T." <lists@...>
2013/08/04
Hassan Schroeder wrote in post #1117723:
[#409358] Re: Rakefile Error - Please Help
— Hassan Schroeder <hassan.schroeder@...>
2013/08/05
On Sun, Aug 4, 2013 at 4:57 PM, Jennifer T. <lists@ruby-forum.com> wrote:
Re: Beginners problem with database and datamapper
From:
sto.mar@...
Date:
2013-08-02 08:51:02 UTC
List:
ruby-talk #409302
Am 02.08.2013 10:43, schrieb sto.mar@web.de:
> Am 02.08.2013 10:36, schrieb cristian cristian:
>> Hello all....again :)
>>
>> When I try to do this with activerecord I get some kind of sqlite3
>> problem that I cant resolve. My code and error message below. Maybe any
>> one of you can see what Im doing wrong? This work fine with datamapper
>> (and sqlite3).
>>
>> This is my code:
>>
>> require 'rubygems'
>> require 'mechanize'
>> require 'active_record'
>> #require 'sqlite3'
>> ActiveRecord::Base.establish_connection(
>> :adapter => "sqlite3",
>> :host => "localhost",
>> :dbfile => "\Ruby\Stats\StatsDB.sqlite"
>> )
>>
>> class Site < ActiveRecord::Base
>> end
>>
>> class Estadistica < ActiveRecord::Base
>> end
>>
>> time=Time.now.strftime("%Y-%m-%d %H:%M")
>>
>> Site.all.each do |site|
>>
>> Estadistica.create(
>> :date => time,
>> :site_id => site.id
>> )
>> end
>>
>> Error message:
>>
>> C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
>> `r
>> equire': Please install the sqlite3 adapter: `gem install
>> activerecord-sqlite3-a
>> dapter` (cannot load such file -- sqlite3/sqlite3_native) (LoadError)
>
> Did you try that?
Or try uncommenting the "require 'sqlite3'" line.
Regards,
Marcus
--
GitHub: https://github.com/stomar/
PGP: 0x6B3A101A