ActiveRecord has a built in pure ruby sqlite adapter (which is the
*only* reason I sometimes use ActiveRecord over Sequel). Perhaps
you're having include issues. Could you give the following a try?
Shoes.setup do
gem 'activerecord'
end
Shoes.app do
begin
Hi,
I have a strange problem with using ruby http post in shoes block. I get a
connection refused - connect(2) error on trying to run the shoes app.
I am running the program on macOS and the problem seems to be
resolve-replace.rb: line 19.
Here's the code
require 'rubygems'
require 'erb'
require
Thanks all
I fix my problem after compile shoes from the shoes,
thanks to **Marc.** again.
yesterday i compile from source after Marc's advice,and try ,it's not work.
I found the reason today ,because I was still use the old version shoes
bin(which i download from shoes site ,may not work find on
this seems weird to me. Am I wrong to be able to expect to use a
method inside a shoes-derived class to assign a value to an instance
variable?
Check this out:
==
class BugTest Shoes
url '/', :main
def assign_variable
info assigning variable.
@foo = bar
info self is
I would have thought the rubygems support and native extensions
support already included in shoes would have been sufficient. What
else is needed? Will the next shoes ship with bloopsaphone? It would
be very nifty if it did. :)
Good luck with the bug fixings and the Hackety Hacking. I'm
Those very docs say And if you need to go beyond these, you can
always break out Ruby's OpenURI class Does shoes hack open-uri to
go via download, or is this some strange cyclical thing where the docs
are advising that if download doesn't work we should be using
Net::HTTP in a round
On Mar 12, 2009, at 12:06 AM, _why wrote:
Sure you could use a class var. Those are guaranteed to persist
throughout the life of the app. Or a constant.
Also, Shoes comes with SQLite3, data can be passed there.
Thank you!
On Thu, Mar 12, 2009 at 03:38:06PM +1100, Jenna Fox wrote:
Those very docs say And if you need to go beyond these, you can
always break out Ruby's OpenURI class Does shoes hack open-uri to
go via download, or is this some strange cyclical thing where the docs
are advising that if