Displaying 20 results from an estimated 120 matches similar to: "Reloader paths/"
2007 Jun 19
5
TentSteak 0.2.0
The second release of TentSteak is out and available as a gem on
rubyforge ("gem install tent_steak"). This version introduces a
handful of new form helpers, a couple method renames, editable HTML
tables, and some application bootstrappers for kickstarting Camping
and initializing ActiveRecord.
It''s still in active development, and I''d very much appreciate
2007 May 18
2
TentSteak First Release
Hey all,
I just pushed out the inaugural release of TentSteak 0.1.0, a set of
Camping/Markaby helpers to minimize the busywork in your views (or
was that the "viewwork in your busies"?). It includes lotsa HTML
form and table helpers, plus a little bootstrapper to make it easy to
load in shared helper modules of your own.
Please check it out and let me know what you think.
2012 Jun 07
2
load_missing_constant: Expected to define class in module
Hi I''m having some weird issues with Rails 3 and classes defined in
modules.
To be more precise I''ve created several files that define classes in the
AppBase module like:
module AppBase
class BackendMenu
[content omitted]
end
end
When a page tries to use the BackendMenu class like AppBase::BackendMenu
I get an error saying "Expected backend_menu.rb to define
2007 May 07
3
Module Madness
I''m wanted to make a "global" module that I could include in my
application for some shared code between them. I''ve been making
several camping apps and wanted them all to share a helper/partial
that contained the navigation.
I ran into a lot of difficulty when trying to include it, the primary
problem being "methodUndefined" errors. I did finally get it to
2010 Jun 04
8
unicorn_rails cleanup (possible fix for Rails3) pushed
Hi all,
I''ve pushed the following patch out go git://git.bogomips.org/unicorn
along with a few other Rails-related test updates. This is more of a
shotgun fix (but less code is better :) since I haven''t been able to
reproduce the brokeness people have been seeing with "unicorn_rails"
and Rails 3 betas.
Even though "unicorn" works perfectly well for Rails3,
2007 Aug 10
0
Reloader, Mounts, FastCGI
I''m trying to figure out how to get the Reloader to work with this kind
of a setup:
(from http://camping.rubyforge.org/classes/Camping/FastCGI.html)
---
require ''camping/fastcgi''
fast = Camping::FastCGI.new
fast.mount("/blog", Blog)
fast.mount("/tepee", Tepee)
fast.mount("/", Index)
fast.start
Tried a bunch of different variations
2013 Jan 02
8
Apache Passenger and Reloader
Hi Guys,
I just started playing with camping and so far it''s pretty awesomo.
After much messing around I was finally able to get Apache Passenger,
Camping and ActiveRecord to PostgreSQL working.
One thing I was wondering about, can I use reloader with Apache Passenger?
Always having to touch/rm a tmp/restart.txt to see changes or reloading
apache altogether is kinda a pain and I was
2013 May 31
22
accidentally created a rails app in the home folder
Im a new user - I just installed rails, following directions here:
http://rubyonrails.org/download
however, when it came time to make a rails new path/etc/etc I get this
message:
Can''t initialize a new Rails application within the directory of
another, please change to a non-Rails directory first.
The only complication during the download was that I had to upgrade from
version 1.8.6 to
2012 Jun 09
0
custom_require.rb:36:in `require': 193: %1 is not a valid Win32 application
I just installed rails using Rails installer.
and when I ran the following code:
> rails new blog
>
I got the following errors:
F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_re
quire.rb:36:in `require'': 193: %1 is not a valid Win32 application. - F:/dev/r
uby/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/i386-mingw32/digest/md5.so (LoadErro
r)
2010 Jun 15
2
ThreadError: stopping only thread
Running Rails 2.3.5
I am new to Ruby and Rails. From the console I get the following
ThreadError below. Any suggestions are very welcome.
>> app.get "/slides"
=> 200
>> app.request.path_parameters
=> {"action"=>"index", "controller"=>"slides"}
>> app.get "/slides/1"
ThreadError: stopping only thread
2010 May 09
2
console ThreadError ("thread ... tried to join itself")
I''m just getting started with Rails 2 and I''ve immediately hit a
problem in the console. This must be well known so perhaps someone
could just tell me the solution.
mattleopard$ script/console
Loading development environment (Rails 2.3.5)
>> app.get "photos"
=> 200
>> app.get "photos"
ThreadError: thread 0x1003c7368 tried to join itself
from
2007 Sep 05
5
Reloading ??
All,
So I got passed my initial hurdles with merb 0.4. And all seems to work
very nicely.
Thank you all for your help !
One thing though, why should I have to bounce the merb server when I
change
my controller or associated classes ? Am I missing something ?
I am having flash back to my java days where I now have to reflect on
what changed
and bounce the server accordingly...
2013 Jun 22
4
ActiveRecord::Base.transaction - SystemStackError - stack level too deep:
Im having an issue that seems to only happen when trying to use a
transaction. Ive used transactions many times in the past and Im at a loss
as to why im getting the stack level too deep problem.
SystemStackError - stack level too deep:
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:70:in `''
I have a StackOveflow with more detail -
2012 Jan 26
2
Problem while creating new resource on ActiveAdmin
HI All,
I have installed the Active Admin successfully, but facing the following
error while restarting the server after generating an resource.
*rails generate active_admin:resource item*
/home/logs/Desktop/training/RAILS/courier/app/admin/items.rb:1:in `<top
(required)>'': uninitialized constant Item (NameError)
from
2007 Mar 28
1
Pimpin'' a patch: moving the bin/camping logic to classes
Hello,
Zimbatm suggested the best way to push a patch into camping was to
take my case to the people. So here it is. If you want to jump
straight to the patch:
http://code.whytheluckystiff.net/camping/ticket/117
Goal: Move the logic in the camping command line launcher into several classes
Why? In the next version of parasite (http://parasite.rubyforge.org)
I''d like to take over
2009 Apr 20
1
Upgrading rails to 2.3.2 - CookieOverflow issue
Folks,
I am trying to upgrade system from rails 1.3.x to 2.3.2 and getting
this error -
Status: 500 Internal Server Error
ActionController::Session::CookieStore::CookieOverflow
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
session/cookie_store.rb:102:in `call''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
reloader.rb:9:in
2012 Oct 18
0
unexpected return (LocalJumpError) only when executing this code within autoloaded classes?
Posted on stackoverflow but no traction yet:
http://stackoverflow.com/questions/12942505/why-does-using-set-trace-func-work-in-some-places-but-cause-unexpected-return-l
The following is a generified part of the code in a gem I''m working on:
module SomeModule
class << self
attr_accessor :procedure
def log_events(*args)
args.flatten!
2012 Oct 17
2
autolog: set_trace_func without all the typing
If it helps anyone developing Rails, apps, or gems, I wrote a shortcut for
set_trace_func, so next time you want to just add a line before and after
some function you are trying to debug you can have Ruby temporarily output
every line, method, etc. executed. Also, it lets you define the format, use
other loggers, etc. via a proc/lambda define, since you might not like the
default format.
2006 Oct 28
4
Mounting an app as ''/'' under Apache?
Hello everyone, I have a site with a collection of camping apps. I''m trying
to force one of them, blog.rb, to run as the index (''/'').
I think that I understand the RDoc as stating that I can execute the
following to make that happen:
Camping::FastCGI.serve File.expand_path(current), Blog
But, when doing so, I recieve the following error:
Camping
2012 Oct 01
1
active_model_serializers, more than one level deep of associations, specifying serializers per association
I am assuming this an appropriate place to discuss this, but if it isn''t my
apologies- just let me know. Just a Rails 4-ish thing.
Am attempting to pull AMS (active_model_serializers), strong_parameters,
and the "permitter" strategy that Adam Hawkins is using:
http://broadcastingadam.com/2012/07/parameter_authorization_in_rails_apis/
Code so far is here (in the