Displaying 20 results from an estimated 1100 matches similar to: "Looks like a bug - Ruby1.9.1Rails2.3.0 - script/plugin"
2009 Jun 10
5
uninitialized constant ActiveSupport::Cache (NameError)
Hi
After having updated some GEMS I get `load_missing_constant'':
uninitialized constant ActiveSupport::Cache (NameError) on starting
the server of a freshly generated rails project.
Before, I already had Rails 2.3.2 projects succesfully running, now
all of them generate this error.
These are my GEMS:
actionmailer (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.1.0)
actionpack (2.3.2, 2.2.2, 2.1.2,
2008 Sep 16
1
config.gem vs require 'somegem'
I am very confused by the config.gem statement in 2.1
If I put config.gem ''pdf-writer'' in my environment.rb I get the
following error when I try to instanciate a PDF object in my
controller with the statement pdf = PDF::Writer.new
uninitialized constant CollectionsController::PDF
so I try putting require ''pdf/writer'' in my environment.rb and the
application
2010 Dec 08
1
configuration issue (Uninitialized constant Aftimagr (NameError) )
Hello All
I am getting this error, any one resolved this..... it''s urgent
ruby script/server --debugger
=> Booting WEBrick...
=> Debugger enabled
config.gem: Unpacked gem rspec-rails-1.1.11 in vendor/gems has no
specification file. Run ''rake gems:refresh_specs'' to fix this.
config.gem: Unpacked gem rubyist-aasm-2.0.2 in vendor/gems has no
specification file. Run
2009 Oct 31
1
How to changing a AASM state using a Edit Action+Form View?
Hello there,
I''m using AASM to manage states in my User model.
I want to change the status through the edit action.
To do this I''m using the method User.aasm_states_for_select in my form
to populate the select input for states.
When I hit the button commit all the changes are saved, including the
state name. But the AASM event for that state is not called, it is
happening
2011 Nov 22
7
rake aborted with ruby on rails
when i run * rake db:create*
*
*
WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require
''rdoc/task'' (in RDoc 2.4.2+)'' instead.
at
/home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
DEPRECATION WARNING: Rake tasks in
2010 Jul 15
3
aasm manage states
Is there a way to manage the states in AASM by keeping them in a table
to normalize the data?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2008 Oct 28
7
aasm callback order?
Hello!
Sometime ago I ran across a webpage where someone had identified the
full callback sequence for an object lifecycle including AASM with
it''s :enter and :exit and whatnot callbacks. Unfortunately, I can''t
find it and searches don''t seem to help.
Does anyone have a reference to a page that shows the callback
sequence with Acts As State Machine (the gem)?
I think
2010 Dec 10
2
has_many, conditions overrride
I have a prod site that has:
has_many :data, :conditions => {:aasm => ''active'')
I do not want to modify it as I do not want to break existing
functionality
Is there a way to overrride this at runtime?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2010 Dec 08
1
Help on install act_as_ferret on windows XP
Hi There!
Im trying to install act_as ferret on win xp, with this
environment:
winXP
ruby : 1.8.7
rails: 2.3.8
gem list:
abstract (1.0.0)
actionmailer (3.0.1, 2.3.8, 1.3.3)
actionpack (3.0.1, 2.3.8, 2.3.2, 1.13.6, 1.13.3)
actionwebservice (1.2.6, 1.2.3)
activemodel (3.0.1)
activerecord (3.0.1, 2.3.8, 2.3.2, 1.15.6, 1.15.3)
activeresource (3.0.1, 2.3.8)
activesupport (3.0.1, 2.3.8, 2.3.2, 1.4.4,
2011 Feb 04
1
GWAF package: lme.batch.imputed(): object 'kmat' not found
Hello, All,
GWAF 1.2
R.Version() is below.
system(lme.batch.imputed(
phenfile = 'phenfile.csv',
genfile = 'CARe_imputed_release.0.fhsR.gz',
pedfile='pedfile.csv',
phen='phen1',
covar=c('covar1','covar2'),
kinmat='imputed_fhs.kinship.RData',
outfile='imputed.FHS.IBC.GWAF.LME.output.0.txt'
))
Gives the error messages:
Error in
2009 Feb 09
9
fastercsv, freezing into vendor/gems
I''m using fastercsv such that in my rake file I''m doing this.
require ''fastercsv''
It works fine on my Mac.
I need to freeze this gem into the app though so my rake tasks work on
the production machine.
-----------
I spent about two hours though this weekend trying to get this Gem
"frozen" into the vendor/gems folder. I tried all sorts,
I ...
-
2009 Mar 26
0
acts_as_versioned and qa
Hi,
I have Article model and it has aasm_column qa, that is initially
"pending".
In order to get it reset qa column on new versions, I have made:
def set_new_version
write_attribute(:qa, "pending")
end
But now the aasm methods are also triggering the new version, dispite:
self.non_versioned_columns << ''updated_at''
2010 Nov 22
0
aasm code into module
Is it posible to move big aasm code into a module and then include it
into a class and it work correctly?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2011 Aug 03
14
[root :to => "home#index"] not working
I have done the changes in the file config/routes.rb as mentioned in the
Rails Guides tutorial, but when I try to open:
http://localhost:3000
the page is not opening. It is giving error.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2006 Jun 12
1
Searching People
Hello to all Rubyist and Railist ;)
I''m looking for people to start a blog-project, write about Rails and with
its related subject. Or if anyone have a blog that I can join in and write
some articles?
Greetings, Chris Dorner
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Feb 01
2
Searcher do not work or I do not work
Hi.
I want to learn more about ferret. So I downloaded ferret-0.10.14 and
write a simple test script
Only query = TermQuery.new(:content, ''program'') gives result.
If I change ''program'' with ''Good'' or ''Extra'' -> no result
and searching on (:title, ''Ruby'') -> no result
Strange, Strange
Here is the
2009 Feb 05
1
JGR extension not working (PR#13501)
Full_Name: Erik Lukac
Version: R version 2.8.1 (2008-12-22)
OS: Mac OS 10.5
Submission from: (NULL) (141.84.28.167)
I tried to install JGR, but somehow it doesnt work.
> install.packages("JGR")
Warning in install.packages("JGR") :
argument 'lib' is missing: using
'/Users/erikl/R/i386-apple-darwin9.6.0-library/2.8'
trying URL
2005 Feb 17
1
VoipJet issues?
Whats up to VoipJet.com? Their DNS servers are not reachable. Both primary and secondary
are on the same subnet - weird setup.
Thanks,
David
2009 Sep 27
3
Newbie Trouble with RubyOnRails Bible
Hello all,
I am new to RoR and am working my way through Timothy Fisher''s Ruby On Rails
Bible. I''m stuck on page 81. I have followed the steps leading to this page,
i.e.
cd rails_projects
rails contactlist
<creates all the directories>
ruby script/server webrick
<shows the Welcome Aboard page>
open a cmd window and run mysql: create database contactlist_development;
2008 Sep 08
2
Restful Authentication and State Machine state transfer question
I''m adding some code to a project using restful_authentication and
acts_as_statemachine
In the create method for a user there is the following code generated
by the restful_authentication template
@user.regster! if user.valid?
And this will save and the user record if it is valid. I understand
that the statemachine will then change the state from passive to
pending. It will guard