search for: arav2132

Displaying 20 results from an estimated 36 matches for "arav2132".

2006 Feb 11
5
acts_as_taggable : plugin vs gem
Googling for acts_as_taggable is a little confusing: gem, plugin?! What are the differences? Which one to choose? Where is the best doc? Alain
2006 Apr 04
1
Re: Rails Digest, Vol 19, Issue 102
...he action that gets called via the first link, I still have not had any success doing a page.replace_html, or know if that is even the right approach. -Andy -------------------------------------------------------------------- Message: 6 Date: Tue, 04 Apr 2006 20:21:18 +0200 From: Alain Ravet <arav2132@biz.tiscali.be> Subject: [Rails] Re: Not getting the whole RJS-based partial rendering concept ... To: rails@lists.rubyonrails.org Message-ID: <e0udev$uhe$1@sea.gmane.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Andrew > 2. At the point where the table appears...
2006 Apr 12
2
where to put utility code.
Hi All, I am new to "ruby on rails". I have some common utility classes. I am not sure where to put this kind of code. components\ or lib\ ? Any comment is appreciated! -Jon _________________________________________________________________ It?s the future of Hotmail: Try Windows Live Mail beta http://www2.imagine-msn.com/minisites/mail/Default.aspx?locale=en-us
2006 Apr 26
3
acts_as_taggable gem: deleting tags
I have the following quick-and-dirty hack in my model: def after_destroy # search for orphaned tags and delete them orphans = Resource.tags_count :count => ''= 0'' orphans.keys.each {|tag| Tags.find_by_name(''tag'').destroy} end It''s nice from a readable code perspective, but it seems inefficient - is there some way to do this with only one
2006 Mar 03
3
Pluralisation issue?
I''m having trouble with rails and a table named ''dives''. It seems to work fine if I try it with another table name. I''ve generated the scaffold with the script and have not made any modifications to it. When I try to run the dives controller it starts looking for ''dife.rb'' and fives me ''uninitialized constant Dife''. Is this a
2006 Jan 31
2
Fragment caching and pagination
I''m just getting my hands dirty with caching. The pages I want to cache have some user specific data on them (for example "log out"). That sent me down the route of fragment caching. One of the things I want to pagination is a paginated list. My question is how is pagination and query strings handled with fragment caching? Does each page get its own fragment and query string
2006 Feb 10
3
sorting <a href..> with D&D follows the link (browser thinks I click)
Hi all, I''ve just added d&d sorting to a list where each item is a link_to .. Problem: when I drop an item to its new location, the browser think I clicked, and follows the link. Any idea? TIA. Alain
2006 Feb 05
26
Ruby on Rails and other sites use PHP?
I can''t think of a good reason, other than it''s legacy code which hasn''t gotten around to being changed to RoR. http://rubyonrails.org/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 http://37signals.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 http://basecamphq.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 http://backpackit.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
2006 Feb 25
5
Setting character encoding - do I do it with Rails or lighttpd?
I have a page which validates "tentatively," because the validator uses the default character encoding. None was specified apparently, so it falls back to UTF-8. How and where do I specify the character encoding? Pat
2006 Jan 07
4
GIS Image coordinates / markers?
Hey everyone, Is there Rails support for something like Google Maps, but using my own images/maps? Basically, I''d like to have my own maps/images, be able to drop markers on them, center on certain attributes etc. - Nic
2006 May 25
6
150 Rails Plugins
The Rails Plugin Directory now has over 150 plugins and RDoc support too: http://www.bencurtis.com/archives/2006/05/150-rails-plugins/ -- Benjamin Curtis http://www.bencurtis.com/ http://www.tesly.com/ -- Collaborative test case management http://www.agilewebdevelopment.com/ -- Resources for the Rails community
2005 Nov 30
7
newbie: Getting started on Windows XP & MAc OSX 10.4
Hello, What installs do you recommend for Windows XP and MAc OSX 10.4? I want to setup Rails as easy as I can. Thanks Frank -- Posted via http://www.ruby-forum.com/.
2006 Jan 23
9
Web Hosting Options?
Can someone recommend a good web host for ROR? -- Posted via http://www.ruby-forum.com/.
2006 Mar 01
7
Instant Management Frontend with the Scaffolding Extensions Plugin
I''ve updated the Scaffolding Extensions Plugin[1] recently to add a couple new features: 1) Scaffold all models and associations with one command 2) Show all associated objects on the edit page Example of usage: In an existing Rails application, create a controller (i.e. "script/generate controller crud"), and modify so it looks like: class CrudController <
2006 Feb 25
8
linking a .swf file in a rails document
Hi, I have a little .swf movie I''d like to have in my page. Is there a rails way of linking it? Thanks, Peter
2006 Mar 03
68
Agile Web Development with Rails 1.1
Dave, on another topic, might I recommend that you and DHH publish an updated version of the Agile guide right away when 1.1 comes out? You could reuse much of your material and it would do a lot of good to help make sure there is still a good centralized source of reference for Rails. Without that book, there really is not a good one-stop source of information for people to learn how to use
2005 Dec 19
7
PDF Shipping Order from Rails...BOUNTY
Hello Rails Community, I put this request out to the community a few weeks ago and got one reply and he ended up being too busy to do it. So, let me try again. I have a need to generate a shipping order from an application that is rails driven. All the data for the shipping order is contained within two tables. I feel like it it too cumbersome to map out all the coordinates for the
2005 Dec 16
13
How to pass a collection to paginate?
There must be a better way to write this code: @project_pages, @projects= paginate :project, :per_page => 10, :conditions => ["account_id = ?", account] ?! If only I could pass the sub-collection account = ... @projects = account.project to paginate, instead of letting it extract it with a find :all + sql conditions Alain. -- Posted via
2006 Feb 12
16
Mongrel 0.3.1 -- New Site/Runs Right
Hello All, Yet another release of Mongrel proudly pushed out for everyone to review and comment on. This time though, I''ve done up a little website that''s *way* better than the plan Rdoc that used to stand in for the site like a one-legged leper. * http://mongrel.rubyforge.net/ As you should already know, Mongrel is a fast HTTP server and library for Ruby partially written in
2006 Feb 14
18
Does shared hosting work? Anywhere?
I moved a rails application to textdrive using their low-cost shared plan. Once on textdrive my app would display ''proxy errors'' periodically. Hitting reload seemed to be all that was needed to get past the proxy error. After discussions with their support people I decided the proxy errors were being caused by apache server restarts -- because there were many of us sharing one