Displaying 20 results from an estimated 23 matches for "stienstra".
2006 Nov 25
5
Newline problem
Hello all,
Recently I have started writing some small package apps. The main app
I''m working on at the moment is Camping/Photos[1]. Here I use
a controller to serve static files (Theme[3]) that I have copied from [2].
There seems a problem however, when using this via lighttpd. All files
that get served (via photos-dispatch.rb) get an extra ''\r\n'' in front.
This
2006 May 31
3
Camping and Builder and XML
Hi,
I have built a simple Camping application which indexes an ODBC
datasource using Ferret on startup, then accepts search strings and
renders the resulting hit list in HTML, and it works quite nicely.
The next step was to alternately render the list in XML for consumption
by another application. In Rails, I would simply use Builder in the view
to get the job done, and so I did the same in
2007 Sep 23
12
Next camping release
Dear camping users,
having been contacted by Julian Tarkhanov, I am willing to prepare the
next camping release. _why has given me his friendly approval, with
the reserve that camping.rb should be lower than 4k. He also told me
that he wanted to remove the ActiveSupport and Markaby dependencies.
I am writing here to get the users input so that I don''t do any
mistake. So far, my plans
2006 Nov 08
14
Increased memory requirements on 1.2
I just recently upgraded a rails app of mine to run on edge (and the
1-2-pre-release branch) and I noticed my fcgis required roughly 6-8MBs
more memory after just a couple requests.
For example, each fcgi on edge would start around 40MB and rise to
~46MBs after a couple requests.
I downgraded my app back to 1.1.6 and each fcgi would start at around
33MBs and rise to ~38MB.
As a result of the
2006 Oct 02
22
Multi Byte Strings
Hey guys,
We''ve been talking about the multi-byte patch and I think it''s time to
get feedback from you guys on a possible way forward.
We can include ActiveSupport::Multibyte with rails 1.2, and update all
of the relevant helpers to use the String#chars proxy. This will mean
that none of the action view helpers will mangle multibyte strings.
Similarly, if any Strings are being
2007 Aug 06
3
authentication question
Hi all
Is there another gem to "manage" logins beyound Equipment (basic
login/security) to use under Camping?
I have already readed the basic_auth.rb and security.rb but is there
some app I can see it working as an example?!
Thanks in advance
Francisco
PS: keep the great job with Camping :)
2007 Jul 31
2
How to receive POST data in controller.
Hi,
When I create a controller like this:
module Bla::Controllers
class Workflow < R ''/workflow/([^\/]+)''
def post(name)
@@log.info input.inspect
end
end
end
And POST some data from the command line:
curl -i -X POST -H ''Content-Type: application/xml'' -d ''<doc><test attr="423"/></doc>''
2007 Jul 31
4
Restarting Lighttpd for each change? Error logging?
Hi,
It seems that for each change that I make in my camping application, I
have to restart lighttpd to make it work.
Also whenever something goes wrong, a syntax error in my camping
application for example, things just stop working and I can''t see any
error messages in the lighttpd logs or any other log.
I just followed the instructions to use Camping with lighttpd on the wiki.
Any
2007 Oct 24
3
acts_as_taggable
Hello All,
I have a table for which i need to tag and i am applying
acts_as_taggable for that
I have a table called localities and I created a table called tags
and tags_localities ,Now my requirement is i need to create new tags
and i should be able to add sub tags to the new tags
So its basically applying Tagging on tags agian
can any one give me a idea of how can i do this
2007 Dec 07
9
Merb-style development exception pages for Mac OS X
I like the merb-style exception pages where there''re links to open the
files listed in the stack trace in TextMate and the source around each
line a lot so I stole the idea (and the code!) and made a patch for
Rails: http://dev.rubyonrails.org/ticket/10401
Here''s how it looks like in Merb: http://yehudakatz.com/wp-content/uploads/stacktrace.gif
What do you guys think?
2006 Jul 27
25
Why are has_one objects resaved when the parent is saved?
If the associated object of a has_one association has been loaded, it
is resaved when the parent is saved. Eg:
class Person < ActiveRecord::Base
has_one :user
end
class User < ActiveRecord::Base
belongs_to :person
end
p = Person.find(:first)
p.save # As expected, nothing happens with the user association
p.user # Loads the associated object
p.save # As well as saving the person, the
2006 Jul 26
9
file upload
I''m looking for file upload documentation on the wiki, cant find anything.
I only found the changeset that supports file upload.
should the file be part of ''input'' ?
please help.
thanks
--
gcc -O0 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic -L. main.o
-lruby-static
-ldl -lcrypt -lm -o ruby
Everyone is trying their hardest to do their job but management has
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache,
both running FastCGI. I''m going to explain the configuration, but first:
update.
gem install camping --source code.whytheluckstiff.net
== Mounting Root for Lighttpd+FastCGI ==
server.port = 3045
server.bind = "192.168.0.103"
server.modules = (
2007 May 22
7
ActiveRecord::Base.connection.create_database defaults to latin1
If you use ActiveRecord::Base.connection.create_database you''ll notice
that by default the created db will use latin1 encoding. I created a
plugin to handle different charset and collations (on top of helping
you with other boring DB tasks).
You can check out the early version of the plugin
svn checkout svn://rubyforge.org/var/svn/raketasks/db_tasks
(I really need to move my projects out
2007 Sep 27
14
Camping and ruby2ruby
Hi everybody,
I would like to use ruby2ruby in a caming project, but there seems to
be an incompatibility with camping, ruby2ruby and markaby.
Unfortunately I receive strange Markaby::InvalidXhtmlErrors.
To demonstrate, that only combination of all three components causes
the problem I added the following code. I relies on Markaby and
ruby2ruby only and works fine (a.k.a. as expected).
2006 Jul 24
18
difference between running unabridged
22 sudo mv camping.rb camping-abridged.rb
23 sudo mv camping-unabridged.rb camping.rb
when running into problems, the abridged version of camping is rather
difficult to debug.
so I''m moving to unabridged, but I''m getting this error.
[Mon Jul 24 15:50:18 2006] [error] [client 192.168.11.100]
2010 May 08
19
mb_chars.upcase and Ruby 1.9.2
I''m testing ruby-head through rvm but can''t get ''ação''.mb_chars.upcase
== ''AÇÃO''... I get ''AçãO'' instead...
This happens both for Rails 2.3.5 and Rails 3 beta 3...
How can I get upcase to work correctly?
Thanks in advance,
Rodrigo.
--
You received this message because you are subscribed to the Google Groups "Ruby
2006 Jul 26
10
get/post bug
I''m not sure if its a bug in the blog example or in the framework but each
time I hit edit, both get and post get called, no matter of the actual http
method.
anyone encounter that bug?
--
gcc -O0 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic -L. main.o
-lruby-static
-ldl -lcrypt -lm -o ruby
Everyone is trying their hardest to do their job but management has set it
up so that
2007 May 04
22
CampingConf?
Campers --
In a few weeks there will be a bunch of people in Portland, OR, for a
conference. A long time ago some campers mentioned that might be a
good time for us to get together and hold a mini CampingConf for a few
hours. Is anyone interested? Does anyone want to organize it?
I''m thinking Wednesday night, May 16.
We could possibly get a spot at FreeGeek (not likely since they are
2006 Jul 14
18
ActiveRecord Love While We''re At It
I am working on and will be publicly showing ActiveRecord some love
around the time of the RubyConf*MI [1] in late August.
My main focus is getting AR to better handle inserts, updates and merges
when working large sets of data. It can improve improve performance by
400% to 600% in preliminary benchmarks.
I am coding this in a way so it can be patched to AR easily, and with
that in mind