| linoj | what value goes into the "exception" var? |
| tpope | if you define it, it will use it take a guess :) |
| linoj | is this in lieu of a rescue statement, or i still need that? |
| jamesb43 | jesusfish, if they are simple charts, try gruff. I don't really know what people use for really complex charts in rails. I haven't had to venture into those waters yet. |
| lonny | Jumb0: I did not see if this is mentioned, but if you have a layout in views/layouts with the same name as your controller, it will be used automatically. |
| tpope | yes, and it will fallback to application.rhtml |
| Jumb0 | i'm currently just using render :layout that tpope mentioned lonny: thank you though. that will be useful! |
| tpope | that's okay for one action but for several, you'll want something less tedious |
| jesusfish | jamesb43: I'm trying out ZiYa with SWF/XML Charts...but having issues |
| Jumb0 | ok guys i have another excellent question... for some actions i'd like to "<%= yeild %>" content on different parts of a layout. how would I go about that? |
| arooni | validates_length_of :description1, :description2, :maximum => 45 |
| jamesb43 | jesusfish, you have probably researched this more than me. I have only had a really simple requirements, and used gruff. Sounds like yours are a lot more complex. |
| arooni | can i not do length_of validations for multliple properties at a time? |
| jesusfish | jamesb43: well, I really just wanted to do 2 lines on one graph...one with a single value and the other with points |
| tpope | Jumb0: read about content_for |
| Jumb0 | k tpope: that's awesome! where do i put the markup for the <% content_for.. ? |
| jamesb43 | jf, are the x values evenly spaced on the line with multiple points? |
| Jumb0 | tpope: separate file? |
| linoj | tpope: when i put render :action => "index" in the rescue_action i get an 500 error |
| tpope | no whereever you want probably in the action |
| jamesb43 | And what output format are you wanting? |
| tpope | but maybe inside a partial that is called by the action |
| arooni | whats better style?: overloading the before_create method? or having before_create method_name ? :method_name i mean |
| patbam | hi |
| tpope | the latter is more flexible arooni but sometimes more verbose |
| patbam | i'm trying to import a js file called jquery.jeditable.js with javascript_include_tag , but i get <script src="/javascripts/jquery.jeditable" ... > . is there some way aorund that? |
| arooni | where do you folks typically put your filter methods? at top of class? |
| jamesb43 | patbam, are you including the file extension in the javascript_include_tag? |
| patbam | jamesb43: no jamesb43: oh weird, that solved it |