Displaying 20 results from an estimated 1200 matches similar to: "CMS act_as_tree and modular architecture"
2009 Oct 12
15
We're sorry, but something went wrong on Tomcat
I am using JRuby and I have to deploy on Tomcat. My web app is working
fine in the dev envirmonment, with Mongel, but when I deploy on Tomcat
I get "We''re sorry, but something went wrong on Tomcat".
The problem is that production.log only shows:
# Logfile created on Mon Oct 12 12:54:36 +0100 2009-bash-3.00
The file permission and directory are 777.
Any idea how I can
2008 Mar 12
0
CMS act_as_tree problem and template_root
Hi,
I want use the comatose CMS plug in for creatin one application.
I installed all the things.
When I run this application I got this error.
"template_root".
Please clear my problem. And How can I create one application by using
the comatose. Please send the sample application if available.
Thank you,
srinivas rao.pala
--
Posted via http://www.ruby-forum.com/.
2006 Jul 18
0
act_as_tree with ordered items
Hello
I am using a data structure that resembles a tree with ordered items. I
know I can use :order in act_as_tree to sort the items at each level,
but since the items have no logical order I would have to use a table
column just to store this order. My experience with position indices of
this kind is that it can lead to inconsistencies in the database so I am
reluctant to use such a
2011 Feb 21
1
Multiple custom CSS for Formtastic
Inside stylesheets I have formtastic.css and formtastic_changes.css.
In formtastic_changes.css I have a custom with:
form.formtastic { width: 700px; etc..
It is working ok but now in only one page only, need a narrower form,
say 530. So I need to have two width set up.
What is the best way to do this? I mean I do not want to change the
other forms in the project, I just want to change the
2011 Mar 25
1
undefined method `init' for Mysql:Class on Mac with rvm and Passenger 3
I tried to find some help in the Passenger group without luck. I would
not like to use mysql2 gem (it gives an error too) because in
production I have to use mysql gem anyway. I moved to Passenger 3 and
I am not able to run a Rails 2 and a 3 apps. They both uses Passenger
3 (latest) and ree 2011.03.
The Rails 2 app gives uninitialized constant MysqlCompat::MysqlRes
The Rails 3:
NoMethodError
2006 Jan 15
2
acts_as_tree & acts_as_list for a single model?
Hi,
If I have a db table
categories
- id
- name
- parent_id
- position
is it alright to have the Category model act_as_tree and for each
level act_as_list?
class Category < ActiveRecord::Base
acts_as_tree :order => :position
acts_as_list :scope => :parent_id
end
Thanks,
Peter
2009 Dec 29
1
undefined method `alias_method_chain' for I18n::Backend::Simple:Class
Hi,
We are running RE:
ruby 1.8.7 (2009-06-12 patchlevel 174) [sparc-solaris2.10], MBARI
0x8770, Ruby Enterprise Edition 2009.10
I tried a simple web app with a controller rendering a text and is
working in my PC but on the server I get:
Error message:
undefined method `alias_method_chain'' for
I18n::Backend::Simple:Class
Exception class:
NoMethodError
Application root:
2006 Feb 20
13
Agile Legacy Interop
I just wanted to announce my latest plugin: LegacyInterop
The 5 second video, minus the video, looks like this:
$ ./script/plugin install
svn://lirp.rubyforge.org/var/svn/lirp/trunk/legacy_interop
$ echo LegacyInterop.act_as_dotnet >> config/environment.rb
Done! Agile! Pragmatic!
The plugin includes support for a large number of legacy systems, all
using the "act_as" pattern.
2012 Aug 03
1
Mock_model not recognizing act_as_mappable
I am using mock_model in my tests, and I encountered a situation where my
stub is failing. Here''s the scenario:
Controller:
@locations = Location.al(:bounds=>bounds)l
@locations.sort_by_distance_from([bounds.center.lat,bounds.center.lng])
Rspec:
@location = mock_model(Location)
Location.stub(:all).and_return([@location])
2010 Jan 05
1
Errno::ENETUNREACH (Network is unreachable - connect(2)):
I am trying to run my first app on the Solaris server, in a production
environment. I get a network unreachable. Why? Does it belongs to
database.yml config?
Processing CategoriesController#index (for 10.3.70.129 at 2010-01-05
14:00:47) [GET]
Errno::ENETUNREACH (Network is unreachable - connect(2)):
/usr/ruby-enterprise/lib/ruby/1.8/net/http.rb:560:in `initialize''
2007 Jul 05
0
act_as_tree, belongs_to and has_many foreign keys incorrect
Two models:
class Project << ActiveRecord::Base
has_many :files
end
class File << ActiveRecord::Base
has_one :project
acts_as_tree
end
Inside of the project model, when creating a new product, I want to
store the hierarchy of files within it.
If I do,
my_top_level_file = my_project_object.files.create(:file_name =>
''foo'');
2006 Jul 06
4
Oracle HR on Rails
Interesting read...apologies if it has been posted already.
http://www.oracle.com/technology/pub/articles/saternos-rails.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060706/619e650a/attachment.html
2020 Mar 19
2
valid BasicAA behavior?
Am Mi., 18. März 2020 um 18:15 Uhr schrieb Chawla, Pankaj
<pankaj.chawla at intel.com>:
>
> >> DependenceInfo is not using the AA interface correctly. Either DI has to be fixed, or another method added to AA that gives additional guarantees. Please see the bug report for details.
>
> Thanks for updating the bug report but GetUnderlyingObject() doesn't help in this case.
2016 Oct 12
3
[test-suite] making polybench/symm succeed with "-Ofast" and "-ffp-contract=on"
----- Original Message -----
> From: "Renato Golin" <renato.golin at linaro.org>
> To: "Sebastian Pop" <sebpop.llvm at gmail.com>
> Cc: "Hal Finkel" <hfinkel at anl.gov>, "Sebastian Paul Pop" <s.pop at samsung.com>, "llvm-dev" <llvm-dev at lists.llvm.org>,
> "Matthias Braun" <matze at
2009 Feb 11
0
ModularIT, the GPL modular service architecture, based on CENTOS
Hi all,
I'm Agust?n Benito, community Manager of ModularIT. Following the advices of
the CENTOS crew that I met at FOSDEM a few days ago, I introduce ModularIT
in this mailing list so the Centos community can take a look at it, since it
is strongly related to this project.
ModularIT is a SOA architecture based on virtualised services. Our goal is
to save time in tedious activities allowing
2010 Feb 24
2
Resizing a btrfs managed partition
Hi,
Let me know if this is the wrong place to ask...
I''m using Fedora 12 x86_64, mostly with the newer 21.6.32 kernel, and
have a single btrfs filesystem within a 120Gb partition.
I''d like to extend the space btrfs can use. One option is presumably
add a new device to btrfs, but I was hoping to simple resize the
existing partition to say 160Gb.
With ext4 I might do
2006 Feb 07
1
acts_as_taggable plugin: more delimiters?
I''m going through the Recipes book and got to the Tagging chapter,
wanted to give it a shot. According to the text, tag_with takes a
space-delimited list of tags. Is there a way to use different
delimeters, such as commas or single quotes? Some tags can
potentially have more than one word, such as ''ice cream''. I''d like to
be able to use those without doing
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,
2006 Jul 13
2
Nested Data
I currently have a database with a table called bookstores. Within that
table are columns such as bookstore name, city, state, and zip code.
What I''d like to do is display the City and then every store name for
that city underneath it.
i.e.
City
- Store 1
- Store 15
Another City
- Store 2
- Store 5
etc. I''ve seen act_as_tree but I don''t know if
2006 Jun 12
0
Using migration to import data?
Hi all,
I have a large set of data to load, many of which are part of a big
act_as_tree model. Right now, I am testing the creation with migration
for the first layer of the tree but for the second layer, I have to know
the ID of the parent_ID. So far, it is easy because I can guess it by
looking at the insertion order, but I was wondering if there are any
better way to do this..
Thanks!