There's always /tmp for short-lived filesystem munging on Heroku. It would be pretty hacky to use, though.
On Wed, May 26, 2010 at 7:23 PM, bilson <[email protected]> wrote: > Thanks for the info and all the great work on Sass. I'll probably try > to hack on ImportNode a bit, as I'm working with a static filesystem > (Heroku) and need to write partials to the database for a multi-site > hosted CMS. > > Best Regards, > David Baldwin > > On May 26, 9:06 pm, Nathan Weizenbaum <[email protected]> wrote: > > At some point, we'd like to have a pluggable interface for @import that > can > > support loading from the database. For the time being, though, no such > > interface exists. You could try hacking ImportNode, but I think it might > be > > easier to just try to work with the filesystem for now. > > > > On Wed, May 26, 2010 at 5:35 PM, bilson <[email protected]> wrote: > > > I am currently writing CSS files from scss/sass templates located in > > > the database on create and update actions. This is simple using > > > Sass::Engine. The only part that doesn't work is @import > > > functionality because it is looking on the file system rather than > > > database. Is there any concept of setting up File System classes > > > (such as available in Liquid - > > >http://github.com/tobi/liquid/blob/master/lib/liquid/file_system.rb) > > > that can override where @import looks? Should I look at changing the > > > way Sass::Tree::ImportNode works? > > > > > Best Regards, > > > David Baldwin > > > > > On May 26, 12:34 pm, Nathan Weizenbaum <[email protected]> wrote: > > > > The best way to do this is probably with custom Sass functions. > > > Seehttp:// > sass-lang.com/docs/yardoc/Sass/Script/Functions.htmlfordetails. > > > > > > On Wed, May 26, 2010 at 3:20 AM, Hansv <[email protected]> wrote: > > > > > Hi, > > > > > > > I was wondering if there is an easy way to have my sass files read > > > > > from my rails db. > > > > > I want to be able to have users pick a color in my admin interface > and > > > > > have that color then be used in a sass variable. > > > > > > > Is this doable? > > > > > > > Thanks, > > > > > Hans > > > > > > > -- > > > > > You received this message because you are subscribed to the Google > > > Groups > > > > > "Haml" group. > > > > > To post to this group, send email to [email protected]. > > > > > To unsubscribe from this group, send email to > > > > > [email protected]<haml%[email protected]> > <haml%[email protected]<haml%[email protected]> > >< > > > haml%[email protected]<haml%[email protected]> > <haml%[email protected]<haml%[email protected]> > > > > > >. > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/haml?hl=en. > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Haml" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<haml%[email protected]>< > haml%[email protected]<haml%[email protected]> > >. > > > For more options, visit this group at > > >http://groups.google.com/group/haml?hl=en. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
