activescaffold  

Re: FileColumn problem: NameError, Inflector

mr.gaffo
Fri, 02 Jan 2009 07:35:57 -0800

Currently i believe most developers only be maintaining the master
version of AS to keep compatible with the latest release version of
rails (and hopefully edge as well). This doesn't mean that previous
versions of rails will be unsupported. However, as new Release
Candidates of rails come out, AS is likely to move support for the
previous rails release into a tag/branch in the repo.

So for instance, when 2.3 becomes a Release Candidate, we are likely
to make a 2.2 branch/tag of AS and have master support the Release
Candiate of rails.

This usually makes sense because by that time, 2.2 rails is very
stable and nothing is likely to come in that breaks rails. But new
features and changes to rails on edge will make supporting the next
version of AS easier (and harder for dual compatibility).

Also the rails team typically develops on edge only. They do backport
major fixes to the released version, but this doesn't happen often.
This seems to be the approach that the AS team is taking.

So to finally answer your question, master will work with the current
rails, and every rails before that will have a tag to work with.



On Dec 30 2008, 2:33 am, "emaire...@gmail.com" <emaire...@gmail.com>
wrote:
> Hi,
>
> I am having problems with my app that I tried to transfer to the
> newest version of ActiveScaffold.
> It seems that the FileColumn plugin is causing some troubles.
>
> NameError (uninitialized constant
> FileColumn::ClassMethods::Inflector):
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:442:in `load_missing_constant'
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:77:in `const_missing'
> vendor/plugins/file_column/lib/file_column.rb:619:in `file_column'
> app/models/doc.rb:4
>
> When I switch off FileColumn in my model (eg. in app/models/doc.rb:4)
> #  file_column :filename
>
> the application runs, obviously without FileColumn.
>
> Any ideas what I am missing?
>
> rails 2.2.2
> ruby 1.8.7
> gem 1.3.1
>
> ActiveScaffold 1.2RC1
> FileColumn *svn* after 0.3.1
>
> thx,
> Emairelle
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to activescaffold@googlegroups.com
To unsubscribe from this group, send email to 
activescaffold+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---