similar to: how do i reload a module in the vendor directory?

Displaying 20 results from an estimated 3000 matches similar to: "how do i reload a module in the vendor directory?"

2006 Feb 15
3
RailsTidy: validates your HTML
Hello everybody, I needed something to validates my HTML templates so I wrote a plugin and here is its first version: RailsTidy is a plugin for Ruby On Rails. It allows you to * validate your rhtml templates, * validate the html output of your functional tests, * clean the html generated by rails. For doing all this, it uses * Tidy[1], the popular HTML validator and
2006 Feb 13
2
Do I need separate file for each model
Hi, I have some models in a file named genel. When I try to use one of the classes in my controller rails raises an error telling classname.rb is not forund even the file is required already. require "genel" require "hesaplar" class HesaplarController < ApplicationController def yeni_firma @emlak_firmasi = EmlakFirmasi.new @sehirler = Sehir.find_all end
2006 Jun 01
5
History plugin
Hello, I felt annoyed enough when having to redirect user back to their previous location in a hackish way that I wrote this plugin. It avoids storing POST and Ajax request. It also has a facility to specify actions not to store in the history. If you are interested, it''s there: http://blog.cosinux.org/pages/rails-history See you all, Damien -- Damien MERENNE
2006 Feb 17
5
getting old values
Hi all, I''ve add :before_update event to my model Before updating a record I want to check if new attributes differ to old attr. My question is how to retrieve old attributes in :before_update event ? thanks -- gratis egold 1$ http://shegold.com/
2007 Jul 31
1
RXML: <ruby:put expr="1+2"/>
Hello railers, I''ve always been annoyed by the fact that ERB doesn''t respect XML specs. As I mostly write XHTML, I''m trying to write a renderer using only valid XML files. Here is an example of a file so you get the feeling of what it''s going to do: <?xml version="1.0" encoding="utf-8"? > <html
2006 Feb 13
1
master and slave issue.
hi all. i have a model called "Comment": #--------------------------------------------------------- class Comment < ActiveRecord::Base def read ... end def write ... end end #--------------------------------------------------------- i want "read" connect to slave server and "write" connect to master server any ideas? all regards. -- Posted via
2006 Feb 13
1
Component or plugin
Hi! I have been learning rails for a couple of week now. Mostly i''ve worked on a authorize/roles system and now i go to the point that i want to separate it from en rest of my application to share it with others and to use it in other projects. It is a quite simple system that i implement using before_filter. My vision is to separate the authorize methods and even some basic
2006 May 22
4
naming convention for bridge tables.
I read somewhere that the correct naming of bridge tables is in alpha order. For example. I have two tables: houses, and colors. If I want to create a bridge table to associate colors with houses, I would name the table: colors_houses The associations work fine. But, if I have a table named: track_houses. Building a bridge table called: colors_track_houses, gives me model associaton errors.
2006 Feb 14
8
Best Practices For back/cancel/return button
Are there any best practices for implementing a back/cancel/return button... even when the page you want to return people too is 2 pages back (when people submit form and then want to return)? Thanks :-) Your Friend, John Kopanas http://www.kopanas.com ===================================================================== http://www.soen.info - source of the freshest software engineering
2006 Jun 23
0
How to make rails reload vendor plugins in dev without restarting the server
I am tinkering with one of the plugins I downloaded. Without restarting the server any changes to the plugin in the vendor directory is not reloaded. Is there a way to reload the plugins without restarting the server. -=- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060623/d1751979/attachment.html
2006 Mar 04
5
SQlite3 hoopup issues on mac os x
friends of the int-arweb. what does this mean: (in bold) ActiveRecord::StatementInvalid in Contact#create SQLite3::SQLException: SQL logic error or missing database: INSERT INTO contacts Context: this happened after I had finished setting up RoR as per the tutorial at http://maczealots.com/tutorials/ruby-on-rails/ the database, is like, there. is there a nice ruby command like deal to
2006 Jan 05
1
Ruby on Rails Workshop in Graz, Austria
http://sg.validcode.at/articles/2006/01/03/ruby-on-rails-get-started The first austrian ?Ruby on Rails? Workshop takes place on the 21st and the 22nd of January in Graz, Austria. What are you going to learn? * What is Ruby on Rails * How do i build a Web Application with it These are the imporant points, but these include many things. You also get a CD with a bunch of Software,
2007 Jun 05
1
Samba4Wins
Hello, I have two servers with SAMBA 3.0.24-30 (PDC and BDC) and OpenLdap (MASTER and SLAVE) and now I want to remove the wins servers (in Windows NT) and put samba4wins in the PDC and other samba4wins in the BDC replicating, but I dont know how to do a correct configuration for samba4wins, and i Don't find a good howto or tutorial or documentation to do that. Somebody has a
2008 May 23
0
CentOS-announce Digest, Vol 39, Issue 11
Send CentOS-announce mailing list submissions to centos-announce at centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-request at centos.org You can reach the person managing the list at centos-announce-owner at centos.org When
2006 Dec 02
0
has_and_belongs_to_many and finder_sql options
Hello everybody, I''ve been hit by the bug described at http://dev.rubyonrails.org/ticket/1732 Is there any reason why the patch is still not included in trunk ? The patch seem simple enough. Regards, -- Damien Merenne http://blog.cosinux.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2008 May 22
0
CESA-2008:0492 Important CentOS 4 i386 gnutls Update
CentOS Errata and Security Advisory 2008:0492 Imporant Upstream details at : https://rhn.redhat.com/errata/RHSA-2008-0492.html The following updated files have been uploaded and are currently syncing to the mirrors: i386: gnutls-1.0.20-4.el4_6.i386.rpm gnutls-devel-1.0.20-4.el4_6.i386.rpm src: gnutls-1.0.20-4.el4_6.src.rpm -------------- next part -------------- A non-text attachment was
2008 May 22
0
CESA-2008:0492 Important CentOS 4 x86_64 gnutls Update
CentOS Errata and Security Advisory 2008:0492 Imporant Upstream details at : https://rhn.redhat.com/errata/RHSA-2008-0492.html The following updated files have been uploaded and are currently syncing to the mirrors: x86_64: gnutls-1.0.20-4.el4_6.i386.rpm gnutls-1.0.20-4.el4_6.x86_64.rpm gnutls-devel-1.0.20-4.el4_6.x86_64.rpm src: gnutls-1.0.20-4.el4_6.src.rpm -------------- next part
2006 Jan 04
0
Ruby on Rails - Get Started
The first austrian ?Ruby on Rails? Workshop takes place on the 21st and the 22nd of January in Graz, Austria. What are you going to learn? * What is Ruby on Rails * How do i build a Web Application with it These are the imporant points, but these include many things. You also get a CD with a bunch of Software, for a good start and a copy of the workshop material What should i
2003 Jun 28
1
Choosing subtitle language
I am wondering how negotiating about text subtitles is supposed to work in Theora? (1) Will it be like the server first transmit a list of available languages, and then it's up to the client to possibly pick a language, either automatically or by user interaction, and then ask the server for that particular subtitle stream? (2) Or will all subtitle streams be sent simultaneously and
2006 Apr 04
3
small question about the relevance of the "database schema has changed"
I have developed 3 small applications using rails (nothing production worthy, just some small stuff "prototype" style). And I often end up changing my database scheme in the middle of development. I also use "script/generate scaffold" (this is somehow relevant to my question). Whenever I change my database schema I end up having to regenerate the scaffold. In the past this