Displaying 20 results from an estimated 3000 matches similar to: "Broomstick - Making Sweeping a Little Bit easer"
2006 Apr 26
1
script/plugins doesn''t discover my repository
I created a plugin, and listed it on the wiki with my svn link but ruby
script/plugin discover doesn''t find my repository. The only way I can
get it to install is to list the full path after install.
ruby script/plugin install http://svn.recentrambles.com/broomstick
What do I have to do to get the plugin tool to find my plugin?
Charlie Bowman
www.recentrambles.com
2006 May 17
1
rails will page cache all actions but one....why?
I have page caching turned on for all actions in my controller
(pragmatic is it''s name). Rails will cache each actions except for
one.
I''ll list the three ways this action can be called. It is only cached
one of the ways. Can somebody help?
http://www.recentrambles.com/pragmatic/index - This will not cache
httphttp://www.recentrambles.com/pragmatic This will not
2006 Apr 29
1
Caching foor starters
Hi there...
I have some experience in building web applications but all of them
have been intranet apps so I have never had to think about things like
caching. Actually my experience with caching has more been in the area
of removing it since it just gets in the way for a intranet app with
10-100 users.
But now I am writing a site which might stand or fall by the quality
of it''s
2006 Mar 20
7
error using feedtools
I performed a gem install feedtools,
I then added these 2 lines to my environment.rb:
require ''rubygems''
require ''feed_tools''
I then added this method in my controller:
def rss
@post = Post.most_recent
feed = FeedTools::Feed.new
feed.title = ''Recent Rambles''
feed.subtitle = ''random thoughts by me''
2006 Apr 17
1
problem with reverse mapping (url_for problem)
I modified my routes to that you can reach my index action by just
typing in the site name (ie www.mysite.com). I did this by:
map.connect '''', :controller => "pragmatic"
I need to be able to do a url_for(:controller => ''pragmatic'') or
url_for(:controller => ''pragmatic'', :action => ''index'') and have
2006 Apr 18
11
how to release a plugin
I''ve developed a very useful (at least to me) plugin for rails. How do
I go about releasing it. I have an account with rubyforge but I don''t
know how to let rails know about it.
Charlie Bowman
www.recentrambles.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 May 10
3
NumbersToWords
= numbersToWords - convert your integers and floats to english or
japaneese words,or translate it into american currency
- This plugin was created from a solution to the ruby quiz (english
numbers) by Matthew D Moss. I modified the code to work as a rails
plugin and added the to_dollars method.
- the to_dollars method will work with integers and floats
- the to_english and to_japaneese methods
2006 May 31
0
acts_as_blog
ActsAsBlog
==========
Here is a simple plugin to allow you to allow the use of
RedCloth,BlueCloth, or SmartyPants in your blog.
It''s super simple to use. It will take your blog post or comment and
transform it into html.
This allows you to write in a much simpler syntax and allows your users
to post valid html into their comment.
It also allows you to block all html tags that
2006 Apr 28
35
what''s your rails wishlist?
I''ve been working with rails for a while now. Rails is the second web
framework I''ve tried. It blows the doors off catalyst (perl''s best
framework). I even just wrote my first plugin (broomstick). Ruby''s
ability to meta-program blew me away with it''s ease of use. I''ve been
so impressed with the helpers that rails uses to make a lot of
2006 Apr 11
11
I can''t get rails to see my plugin. How can I this?
I''m trying to produce a plugin to help me with my page caching woes. I
can''t seem to get rails to see my method within the plugin. This is my
first attempt at a plugin so I''m sure I''m missing something. I''ve
created a directory /vendor/lib/plugins/broom_stick/. I then created an
init.rb file with:
require ''broom_stick''
I then
2006 Sep 12
2
Cache sweeping and render_component (my mistake or Rails bug?)
Hi
I''m working on a program which relies on heavy cache sweeper usage.
I''ve just bumped onto an odd problem. When using render_component
method in layouts or templates with cache sweeping turned on, Rails
throws an exception with the following message:
NoMethodError in TestController#index
You have a nil object when you didn''t expect it!
The error occured while
2006 Feb 26
3
how to format and syntax highlight code in html
I''ve written my own blog (I know typo is better, but I wanted the
experience of writing my own) and I want to add syntax highlighting to
it. I''ve read about using the ruby gem syntax but I can''t figure out
how to implement it. I''ve also wondered if it could be used in my case.
How does it work when you have a long line of code but the <div> your
2006 Apr 10
3
can I expire a cached page using a regex?
I''m trying to expire all pages under my view action. These could
be /controller/view/1 or /controller/view/1/2
how can I expire all pages under /controller/view/? There must be a
way, but I''m stumped. Here''s my broken attempt. Thanks in advance for
any help,suggestions, or directions to a how to page.
expire_action(:controller =>
2006 May 03
1
sessions, cached pages, and the tmp folder
I''ve been running edge rails for a while but I can''t seem to get my
sessions and to be written to the rails_root/tmp folder. My sessions
keep getting wrote to the servers /tmp directory. What do I need to do
to get rails to use the new tmp folder? Thanks in advance
Charlie Bowman
www.recentrambles.com
-------------- next part --------------
An HTML attachment was scrubbed...
2006 May 22
2
finding out the remote users username ENV[REMOTE_USER] ?
I''m trying to set the modified_by in my user table from the remote user
name. I have htaccess set up for the rails directory but I can''t seem
to get it to read the remote users name. is ENV[REMOTE_USER] the
correct syntax? I searched but I can''t seem to find a definitive
answer. Thank you for any help!
Charlie Bowman
http://www.recentrambles.com
-------------- next
2006 Mar 08
2
(no subject)
Can anyone point me in the direction of a good tutorial on visual
effects in rails? I''ve searched and I''ve asked but I can''t seem to find
any good documentation on ajax visual effects, combining of effects, or
queued effects.
Charlie Bowman
http://www.recentrambles.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Mar 29
2
vim syntax highlighting of rjs templates
Are there config files for vim that offer syntax highlighting of rjs
templates?
Charlie Bowman
http://www.recentrambles.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060329/486c9d84/attachment.html
2006 Feb 22
2
loggin of sql statements
Is there a way to have rails log the sql statement that it runs. It
would be much easier for me to debug my code if I could actually see the
sql that active record is using.
Charlie
recentrambles.com -> use Time not DateTime
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 May 23
7
how to pull text from database and eval it?
I''m trying to add some executable code to my blog posts. How can I
include this inside of a blog post and eval it?
Charlie bowman
http://www.recentrambles.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060523/a3536408/attachment.html
2006 Feb 28
5
Session Sweeping
Hi,
Anyone got some slick ideas on how to sweep an AR session store? I have a
few ideas how I can do it, just want to see if there is an elegant solution
that someone is already using.
Bob Silva
http://www.railtie.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: