summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-07-26 08:37:33 +0900
committerRandy Morgan <[email protected]>2012-07-26 08:37:33 +0900
commit32744f03415e38aa954146ad18a95a16f01c3f0e (patch)
tree25be4c66f51f946eeda39973d5783c1e1d5eb4b8
parent03e66ca56d6f32cc87c3b969481c9a33df037001 (diff)
downloadcaxlsx-32744f03415e38aa954146ad18a95a16f01c3f0e.tar.gz
caxlsx-32744f03415e38aa954146ad18a95a16f01c3f0e.zip
update README to include axlsx_rails
-rw-r--r--.~lock.example.xlsx#1
-rw-r--r--README.md13
2 files changed, 14 insertions, 0 deletions
diff --git a/.~lock.example.xlsx# b/.~lock.example.xlsx#
new file mode 100644
index 00000000..b9e92393
--- /dev/null
+++ b/.~lock.example.xlsx#
@@ -0,0 +1 @@
+,randym,Morgans-MacBook-Air.local,26.07.2012 08:17,file:///Users/randym/Library/Application%20Support/LibreOffice/3; \ No newline at end of file
diff --git a/README.md b/README.md
index efdaa236..633dc20f 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,18 @@ Axlsx: Office Open XML Spreadsheet Generation
If you are working in rails, or with active record see:
* http://github.com/randym/acts_as_xlsx
+acts_as_xlsx is a simple ActiveRecord mixin that lets you do stuff like
+'''ruby
+
+Posts.where(created_at > Time.now-30.days).to_xlsx
+
+'''
+To automatically generate a workbook
+
+** and **
+
* http://github.com/straydogstudio/axlsx_rails
+Axlsx_Rails provides an Axlsx renderer so you can move all your spreadsheet code from your controller into view files. Partials are supported so you can organize any code into reusable chunks (e.g. cover sheets, common styling, etc.) You can use it with acts_as_xlsx, placing the to_xlsx call in a view and add ':package => xlsx_package' to the parameter list. Now you can keep your controllers thin!
There are guides for using axlsx and acts_as_xlsx here:
[http://axlsx.blogspot.com](http://axlsx.blogspot.com)
@@ -232,6 +243,8 @@ done without the help of the people below.
[rfc2616](https://github.com/rfc2616) - for FINALLY working out the interop issues with google docs.
+[straydogstudio](https://github.com/straydocstudio) - For making an AWESOME axlsx templating gem for rails.
+
#Copyright and License
----------