Displaying 20 results from an estimated 20 matches for "famundo".
Did you mean:
facundo
2006 Mar 29
1
Fixing output_compression for Rails 1.1
...sion[1] plugin was broken.
Once I upgraded to 1.1, I had to tweak it a bit to make it work.
Mainly it''s removing the code dealing with component requests, as
that''s part of rails now, and changing one function call.
Get the modified output_compression.rb file from
http://devblog.famundo.com/output_compression.rb and give it a try.
It''s also detailed in my devblog[2].
It you are interested in a diff or more explanations, let me know.
Guy.
[1] http://blog.craz8.com/articles/trackback/85
[2] http://devblog.famundo.com/articles/2006/03/29/fixing-output_compression-to-work...
2006 Jan 31
3
Lost in routing
...'t see why the
url_for() will not ignore this part. Actually, url_for returns
/books/message/news/show. The protocol and host are added by the
client. But still, the /books part should not be there.
Any pointers as to how I should handle that?
Bye,
Guy
Family management on rails: http://www.famundo.com - coming soon!
2006 Apr 03
0
Making output_compression work with send_file
While working with the newly fixed output compression plugin, one of
the devs in my team discovered that it breaks with send_file(). So if
you are using send_file() in your application you must get the fixed
file I''ve put at: http://devblog.famundo.com/output_compression.rb.
The change is actually in checking for the Content-Disposition header
added by send_file(). See the full writeup in my blog:
http://devblog.famundo.com/articles/2006/04/03/one-more-fix-in-output_compression.
Enjoy!
Guy.
--
Family management on rails: http://www.famund...
2006 Jan 09
4
Switching databases in Rails v1.0 app
Hello, I need some guidance. I have a need to:
a) Login, validating against a "system-level" user database - no big
deal, then
b) Depending upon the login, select a customer database for processing.
For instance, assume that my login profile lists an area of interest:
cars, motorcycles or boats. Each of these has a database, with identical
table formats. If my login shows my area of
2006 May 14
0
Beware of HashWithIndifferentAccess#symbolize_keys!
...ems from the hash. Please make sure you either never call
symbolize_keys! (or to_options! which just alias it) on a
HashWithIndifferentAccess, or apply the path attached from the ticket
at: http://dev.rubyonrails.org/ticket/5076
I also posted a much longer explanation in my blog at:
http://devblog.famundo.com/articles/2006/05/13/beware-of-hashwithindifferentaccess-symbolize_keys
Please note that symbolize_keys (without the ! at the end) works as designed.
Bye,
Guy.
--
Family management on rails: http://www.famundo.com - coming soon!
My development related blog: http://devblog.famundo.com
2006 May 30
0
Fixing PUT to work with multipart messages
...rk.
The rails code as a fix for POST requests, but not for PUT requests.
So we added PUT as well and it works great now. I posted this as a
patch in trac (http://dev.rubyonrails.org/ticket/5235) so you can get
it if you need this functionality.
Yu can also read about it in my blog:
http://devblog.famundo.com/articles/2006/05/30/fixing-multipart-post-in-rails
Bye,
Guy.
--
Family management on rails: http://www.famundo.com - coming soon!
My development related blog: http://devblog.famundo.com
2006 Apr 24
3
Regex in HTML
So, I''m trying to write a nice bit of regex to handle finding anchor tags in
a bit of html.
This is what I''ve got....
/<[aA][^>]*>[^<]*<\/[aA]>/
I''m planning on using this with a gsub!.
Here is what it has to do....
<html><a href="http://stuff.com" class="link">Anything in here.</a></html>
As you can
2006 Mar 05
5
A nicer and gentler form of spawner
...39;', port)
srv.close
srv = nil
print "NO\n "
print "Starting FCGI on port: #{port}\n "
system("#{OPTIONS[:spawner]} -f #{OPTIONS[:dispatcher]} -p #{port}")
rescue
print "YES\n"
end
end
More details in my blog: http://devblog.famundo.com/
Bye,
Guy
Family management on rails: http://www.famundo.com - coming soon!
2006 Apr 06
3
Deploying with Capistrano via cron
I''m attempting to auto deploy a rails application to a development
server periodically during ongoing development. I''ve setup ssh keys
to allow the proper user auto login permissions, but have ran into 2
issues.
1. When the script is run from a cron job as the same user as I
currently manually deploy from I receive an error when reaper tries to
execute - "can''t
2006 Sep 19
2
[OT] SVN: Anybody use BDB?
I''m moving my Subversion repository to a new server. The old server uses
Berkeley DB/Sleepycat and if memory serves, it was a lot of effort to
set that up -- so I think I''ll try FSFS. Does anybody use BDB and prefer
that over FSFS? Or had any problems with FSFS? (I never had any problems
with BDB, performance or otherwise, btw.)
Thanks,
Joe
--
Posted via
2006 May 31
6
Restricting access to files uploaded by file_column
Hi Guys,
Does anyone know how to restrict access on files that you upload in file
column to certain users only? I notice that files being saved by the
file_column by default are being saved under the public folder and can
be accessed just by typing the URL directly. Let''s say you have a Login
system where you restrict access to some pages and allow those users to
upload their own
2006 Jun 19
4
Oh, Don''t Forget... launches!
Just wanted to send a quick thank you to the contributers on this forum.
Today, with the help of many around here, I launched ohdontforget.com!
Ohdontforget.com allows US visitors to schedule sms text messages for a
specific date and time, for free.
Although I have officially, launched, there is still room for
improvement. I used this project as a learning opportunity for Ruby on
Rails and
2006 Jun 15
13
Best Approach to a ''Down for Maintenance'' Page?
What is the best way to implement a ''Down for Maintenance'' page across
your Rails app?
Ideally I would like to have a button in my admin section that toggles
the display of a ''currently under maintenance'' page to every public
request to the app (possibly with some dynamic content like estimated
down-time)
except for: -
- requests from a specified IP
2006 Jun 22
18
Ruby on Rails Live CD
I''m pleased to announce the initial release of the new Ruby on Rails
LiveCD Linux Distribution. http://www.railslivecd.org
The RailsLiveCD offers most of what an average Rails developer needs
right out of the box! That includes :
Ruby 1.8.4
Rails 1.1.2
Capistrano 1.1.0
Mongrel 0.3.13
Rake 0.7.1
Subversion
MySQL 4.1.12
MySQL Administrator
RadRails
KDevelop
Kate
and many many others!
2007 Mar 27
18
Textile Editor Plugin v0.1
The Textile Editor Helper (TEH) is a Javascript-based text formatting
toolbar that will be added to all of your text areas that utilize the
TEH feature. TEH was developed to provide a more WYSIWYG-ish option
for users of our Rails CMS called slate while still letting us use
Textile.
======================
= So what are the features?
======================
These are a list of the current features
2006 Jun 20
22
New e-book - The Money Train
While talking about my RailsConf presentation with Ben Wiseley, he
suggested writing a book on the same topic... so I did! The Money
Train is an e-book about building e-commerce sites using Ruby on Rails.
Read my blog entry about it at http://www.bencurtis.com/archives/
2006/06/rails-e-commerce-e-book/ or head to http://
www.agilewebdevelopment.com/book to dive right in.
As always, a big
2006 Mar 30
11
Capistrano/SVN: Deploying different database.yml for live?
Greetings,
Today I''ve been working out how to begin using Capistrano and so far I''m
impressed. Even in my situation, learning Rails and deploying to a
single server, it''s incredibly helpful. I do have one small question
though:
In using Subversion I''ve used the "ignore" feature to ignore my local
database.yml file, because my local database and
2009 Jul 29
1
Windows+Apache+FastCGI+Postgres - didn't work
...all ruby-postgres
Successfully installed ruby-postgres-0.7.1.2006.04.06-x86-mswin32
1 gem installed
Installing ri documentation for ruby-postgres-0.7.1.2006.04.06-x86-
mswin32...
Installing RDoc documentation for ruby-postgres-0.7.1.2006.04.06-x86-
mswin32...
P.P.S. this nice advice
http://devblog.famundo.com/articles/2007/02/11/solving-tough-deploy-problems-with-fastcgi-and-rails
but didn''t help when I change version to 2.2.2
2006 Mar 29
38
Poll: Which distro do you use for Rails/Ruby development?
Good afternoon,
I''ve two quick questions for the Ruby/Rails community.
1) Do you use Linux for Ruby or Rails development?
2) If you use Linux, which distro do you normally use to develop?
Thank you for your input. :-)
--
Posted via http://www.ruby-forum.com/.
2006 Jan 10
14
Not wishing to instigate a DB war, but...
Can I get some opinions on which free DB to use with rails for a virtual
server that will eventually be doing lots of heavy database lifting?
Not a lot of heavy duty querying per se. Think multiple simultaneous
forums and blog sites and the like.
I know each of the different DB possibilities such as MySQL and
PostgreSQL has plus points and minus points. I''m particularly
interested