dima / pomodo_on_rails

Time Tracking application developed in RESTful Flex Development (Rails Version)

This URL has Read+Write access

commit  a757867824b8030e017b7750d2bd7794f2466c5c
tree    ad01061fa7ffb8a6a1ecc6d299eaa0a2c2a36c6e
parent  877181bc980c5e6a00630f60f88b0f298a74d3a1
pomodo_on_rails / config / restfulx.yml
100644 65 lines (55 sloc) 2.804 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# RestfulX code generation configuration options
 
# This option controls what the main Flex application file will be called.
# By default it will be equal to the name of your rails project camelized
project-name: pomodo
 
# This options determines what the root folder for generated Flex code is.
# By default 'app/flex'
flex-root: app/flex
 
# By default flex models, commands, controllers and components are genearated into
# <flex-root>/<your rails project name> folder. If you'd like to customize the target folder
# (to say append a "com" package before your rails project name) uncomment the line below
# base-package must follow the usual flex package notation (a string separated by ".")
base-package: pomodo
 
# Main RestfulX controller is typically named AppicationController. This controller is created in
# <base-package>.controllers folder. You can customize the name by uncommenting the following line
# and changing the controller name.
controller-name: ApplicationController
 
# If you are using Rails on the back-end and Adobe AIR as the client you can generate Rails/Flex/AIR
# code to take advantage of synchronization (online/offline) support in RestfulX by changing the following
# option to true. By default distribution is disabled.
distributed:
 
# These options control code-generation options for view components, Flex and Rails models and so on.
# Allowing you to choose what controller patterns, layouts, attachment plugin you want to use, etc.
defaults: &defaults
  attachment_plugin: 'paperclip' # => paperclip/attachment_fu
  controller_pattern: 'default' # => default/resource_controller
  layouts:
    default: 'default' # => default (more coming soon)
  ignored: # => ignored tables/fields won't appear in model.yml
    tables: [table1 table2]
    fields: [field1 field2]
    
# set up specific options for development environment
development:
  <<: *defaults
 
# set up specific options for test environment
test:
  <<: *defaults
 
# set up specific options for production environment
production:
  <<: *defaults
  
# The following special model.yml fields are supported.
#
# For example:
# attachment_field: [avatar]
# * arg takes Paperclip field name, or takes [uploaded_data] for Attachment_Fu
# belongs_to: [account, profile]
# has_many: [announcements, files, folders, users]
# has_many_through: [permissions, roles]
# * has_many :roles, :through => :permissions
# has_one: [suitcase]
# polymorphic: [commentable]
# tree_model: [parent]
# layout: [default]
# * default template is the only current theme, with more coming soon
# ignored_fields: [children_count, ancestors_count, descendants_count, position]
# * specify fields you don't want generated for your template