search for: jannab

Displaying 6 results from an estimated 6 matches for "jannab".

Did you mean: janna
2009 Jun 05
15
Rails Code Indentation
Hi All, Rails code must be readable, formatted and well indented. I wanted to do indent code in my previous projects. Is there any built in rails plugin/gem that can help me to indent my existing code. Any ideas will be really appreciated ! NOTE: Please don''t suggest editor plugins. Thanks & Regards, Sandip R~ -- Ruby on Rails Developer http://sandip.sosblog.com
2009 May 27
9
Contingent Select Boxes - 2 Q's
...ate select box (I believe the solution to #1, above, should solve this too). Ive scoured the net for examples of related matters, but cannot find one similar to this. I am certain the solution must be little more than a few lines of code which I am entirely oblivious to. Can someone help me here? -JannaB Here is the code I am using: First, I have a model called Associates (for simplicity in demonstration here, the only two members of Associates are state and country, both Strings), and the /views/associates/_form.html.erb, as follows: <% form_for @associate do |f| %> <%= f.error_messa...
2009 Jul 24
6
Routes from raw js (using XMLHttpRequest)
I am making an ajax call from js to call a method (assocboxchange) in my controller (AssociatesController), using XMLHttpRequest. I know the XMLHttpRequest works fine because I use it in other places with success. My problem is my URL I am using for this request doesn;t access the method in my controller which I (think) I am specifying. I am having it post to /channels/assocboxchange/" with
2009 May 26
2
Discovery on packages
If I download a package -- how can I explore what it does? For instance, I downloaded the TTR package of off CRAN -- but how can I find out what it does? Is there a type of API doc for each package? JB
2009 Jul 11
6
conditional link_to_remote not re-rendering
I have an int, ''floorfrozen,'' in my table, ''channels'' that can take a value of 0 or 1. When I render a page, an image in a link_to_remote is called differently depending what the value of channel.floorfrozen is, in a partial, as follows: <% if @channel.floorfrozen %> <%= link_to_remote image_tag("/images/icecube.gif"), {:url =>
2009 Jun 09
1
Black-Litterman model
Anyone know where I can obtain an R implementation of the Black- Litterman portfolio model?