Displaying 20 results from an estimated 8000 matches similar to: "schema -> migrations"
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 Mar 22
6
Relatively easy HTML/XML parsing utilities?
Anyone know of any Ruby modules which can be used to parse an HTML page
?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2006 May 29
4
Prompting user to enter value to feed Find
Hi,
While viewing part of a long list of records, the user may want to do a
Find of a specific record (for example, find_by_name). The found record
is then displayed using the list view. I''ve searched the wiki and
couldn''t find a sample or information that will help directly in
implementing this function. Any pointers?
Thanks!
gk
--
Posted via http://www.ruby-forum.com/.
2006 May 12
5
Implementing URLs with more than 3 levels in Rails.
Hi There
I started using Rails recently, and I see it''s very easy for URLs that
have up to 3 levels:
/:controller/:action/:id
But what do you do when you need more than 3?
For example, my current project should have an "admin" interface.
Admin has several sub-interfaces, for example a "users" interface. And
the admin/users interface has several actions, e.g.
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 Jun 01
6
real time search results
I am new to ruby and rails and am unsure how to accomplish the
following:
I''d like to have a page where the user enters a value in a form field
and have results stream into a results div on the page. Additionally, I
want to:
- Not limit the result set
- Allow user to get immediate feedback on what they have entered
- Allow user to change field contents as results are appearing
- Have
2005 Dec 22
2
help me understand migrations movie
I''m somewhat of a newbie - played with recent versions of rails a few
mths ago, but have decided to start from scratch with 1.0.
I want to build my new db as much as possible with migrations, so I
watched DHH''s migrations movie from rubyonrails.org.
A few things confuse me:
1. He generates the model ("post") before running rake db_schema_dump.
Is that necessary or
2006 May 02
2
Mapping/Routing: connecting ?lang=de to blah.org/de?
Hi List,
how would you modify routes.rb to get something like
http://example.org/de/controller/action
instead of
http://example.org/controller/action/?lang=de
?
(Using the Ruby-GetText method for internationalization,
which allows you to specify the sites'' language in the
lang param)
I''d be grateful for any hints that you might have!
Regards,
Raphael
--
Posted via
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 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 May 26
11
Weird Caching Issue
Hey all,
Here''s the issue... I''m not entirely sure it''s even a Cache-related issue,
but here it goes:
I''ve deployed a Rails app onto a subdomain of my clients site... The server
is running Apache2, and I''m proxying through to Lighttpd. The issue I''m
having is that I''m able to add content to the site (data exists in the db),
but
2006 Feb 28
5
List and update installed gems?
Hi, could someone tell me how to list and update the currently
installed gems on my rails installation?
Thanks in advance,
-Conrad
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 Apr 28
3
Rails wizard page support
Hello,
does anyone know if there is a "best practice" how to implement wizard pages in
RoR? I want to have multiple pages for entity editing and creation. Is there
any rails plugin available? I think it would be nice to have a howto in the
rails wiki or to have built-in wizard support in RoR. What do you think? Any
suggestions how to implement this elegant?
--
Oliver Paulus
OpenPGP
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 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 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 24
3
Changing sidebar in layout per controller
I am currently using 2 layouts in my site. One is for the admin area. I
am trying to get content in my sidebar to change depending upon the
current controller.
Example:
Within admin I have a users controller and a articles controller. When
in the users view I want the sidebar to display options (like add user
delete user etc).
What is the best actionview way to do this. I don''t
2006 Apr 04
3
Keeping javascript in the <head>
Given that Rails has built in ways to do almost everything else :) , is
there a way to keep view specific javascripts inside the head tag of a
layout without having to include that javascript on every page?
--
Marlon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060404/65e9bb6d/attachment.html