similar to: Rails Development Environment and Reloading Models

Displaying 20 results from an estimated 30000 matches similar to: "Rails Development Environment and Reloading Models"

2006 Dec 08
5
WEBrick development environment not reloading views in Windows
I recently RoR on a machine running Windows 2003 server. When I fire WEBrick using the development environment, it does not reload the app with changed views. I have to shut down WEBrick and restart it to see the changes. Has anyone else had this problem? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2007 Jan 29
2
What does Reloadable mean in rails source code?
In the actionpack-1.12.5\lib\action_controller\base.rb, you can see the definition: class Base include Reloadable::Subclasses ... And following is the definition of Reloadable: # Classes that include this module will automatically be reloaded # by the Rails dispatcher when Dependencies.mechanism = :load. module Reloadable class << self def included(base) #nodoc: raise
2006 Jan 23
1
Do non-AR models reload in development?
When working in development mode, do non-AR models reload? I''m not seeing changes I make reflected in the app unless I restart webrick, so I''m assuming the answer is no. How would get these model objects to reload just as their AR decendant brothers and sisters do? --Ryan
2006 Feb 23
25
reloading fragments of pages
Hello, I have a treeview, that works with scriptaculous in order to load the nodes dynamically. I also have in the main part of the page, a table with the list of elements. The lists of elements can be drag-dropped on the treeview in order to move them around (they are also draggable on other parts of the page) I need though, to refresh the treeview to reflect changes when a folder was moved
2006 Mar 31
5
Model reloading problem
Hi all, I''ve a model class Toto in the model directory. I don''t understand why i have to restarts WebBrick to view changes i make in this class FYI : in the development. rb i desabled class cache with config.cache_classes = false Regards Luciano -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jun 26
5
How can I dynamiclly generate models?
I am trying to write a plugin, ''acts_as_commentable'', for my models - Image, Book, Music and so on, I do not want to use polymorphic association, so very model should have its own comment class. Here is my code acts_as_commentable.rb module Commentable def self.included(base) base.extend(ClassMethods) end module ClassMethods def
2017 Jun 25
5
Samba freezes
On Sun, 2017-06-25 at 17:54 +0100, Rowland Penny via samba wrote: > On Sun, 25 Jun 2017 18:11:05 +0200 > Antoine Huchet via samba <samba at lists.samba.org> wrote: > > > Hello, > > > > I have Samba 4.5.8-Debian running on Debian Stretch. > > I use Samba to load games over my local network from my Debian machine > > to my Playstation 2 (using
2018 Feb 22
0
Sink redundant spill after RA
> From: junbuml at codeaurora.org [mailto:junbuml at codeaurora.org] > Sent: Thursday, February 22, 2018 11:39 AM > > On 2018-02-22 11:14, gberry at codeaurora.org wrote: > > FROM: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] ON BEHALF OF > > Jun Lim via llvm-dev > > SENT: Thursday, February 22, 2018 11:05 AM > > > > Hi All, > > > > I
2007 Sep 13
7
Namespacing Models
Hello everyone, Do you feel it? The little shiver down your spine when you think of "namespacing" in rails? To some thats a common feeling, to people like myself who enforce absolute organization have already thought about the need for namespaces in rails. Now I do understand this is an ongoing effort... to some degree. Controllers and routes, from my experiences work well, that being,
2006 Nov 27
1
rails environment loaded but one plugin is undefined (using backgroundrb 0.2.0)
Hello all, I''m using BackgroundRb 0.2.0 (standalone) and in the do_work method of my worker, I''m working with objects from my Rails application. So in my config/backgroundrb.yml file, I added this line: :load_rails: true I think my worker isn''t doing what I want him to do. So I opened the console and read these error lines: # ruby script/backgroundrb console
2018 Feb 22
2
Sink redundant spill after RA
On 2018-02-22 11:14, gberry at codeaurora.org wrote: > FROM: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] ON BEHALF OF > Jun Lim via llvm-dev > SENT: Thursday, February 22, 2018 11:05 AM > > Hi All, > > I found some cases where a spill of a live range in a block is > reloaded only in one of its successors, and there is no reload in > other paths through other
2008 Oct 16
5
2 Models: Same name, different namespace => Problems
Let''s start with an example: --- class Comment < ActiveRecord::Base end # dummy (to invent a "table namespace") class Review < ActiveRecord::Base end # ... dummy # is "review_comments" in the database class Review::Comment < ActiveRecord::Base belongs_to :thing end class Review::Thing < ActiveRecord::Base has_many :comments, :class_name =>
2006 Feb 24
2
reloading in development
I''ve just started getting so odd symptoms working with webrick. I use TextMate editing my rails apps over a CIFS mount on the server. Usually when I "edit/save/reload" a page I see the new changes. However I''ve started getting the same old data and now have to frequently restart the webrick server to get my changes to render. What is available to debug on this to
2006 May 05
3
exception_notification plugin not sending mails in development on localhost
Hi everyone, So, I''ve got exception_notification working now, but not in development mode on localhost. In my ApplicationController, I''ve added: local_addresses.clear Shouldn''t that be enough? Thank you! Sean
2016 Jan 21
3
[PATCH 2/2] core: Fix stack overflow when reloading config
On 10/12/15 21:04, celelibi--- via Syslinux wrote: > From: Sylvain Gault <sylvain.gault at gmail.com> > > The behavior when running a "CONFIG" command line is to reload > ldlinux.c32 with the new file as argument. This call never return. > > In order to avoid stacking up the calls to start_ldlinux, this patch > introduce a setjmp/longjmp to return to the
2008 Mar 05
7
Display result without reloading page
Hi all... I have a tabbed interface for showing the details of an Item. By default the ''Details'' tab is selected. The code for displaying each tab is in a partial file. In one tab named ''status'', i''m showing the list of status history of that item. I am trying to implement pagination for this list. When i click on the ''next'' link
2013 Jul 16
2
reload without shutting imap connections down
Hello, we have some problems with users who report connectionproblems to dovecot sometimes. According to the logs there are dovecot reloads at this times. Seems that a reload also causes dovecot to shut all imapconnections down: Jul 16 13:31:40 myhostname dovecot: master: Warning: SIGHUP received - reloading configuration Jul 16 13:31:40 myhostname dovecot: imap: Server shutting down.
2008 Aug 04
5
Reloading /etc/hosts
I am doing some testing and am having to make many changes to /etc/hosts Is there a way to reload the /etc/hosts file without doing a service network restart? I hope that in a while I can run BIND with a bunch of faked-out zone files (did this once to crack a Vonage PAP2). But for right now, I cannot introduce BIND to the equation....
2002 Jan 18
2
easier way to update packages i'm developing?
I'm frightfully new at developing r packages. I'm developing an econometrics package, and each time I update my beta package, I close R, delete the package dir in the library dir, rebuild the zip file, rerun R, reinstall the package and run the functions. Is there a more efficient way? Jeff. Jeff D. Hamann Hamann, Donald & Associates, Inc. PO Box 1421 Corvallis, Oregon USA 97339-1421
2008 May 14
7
A copy of XX has been removed from the module tree but is still active!
I have a class in my /lib/ directory called tracker.rb It''s function is to receive an array of URLs and then perform 4 separate tasks on each URL Each of the 4 tasks gets it''s own thread. the class is called from my controller like: output = Tracker.go([array_of_urls]) Sometimes, when it hits an exception, instead of just dieing gracefully, my logs repeatedly display: A