similar to: Vim and .rhtml

Displaying 20 results from an estimated 1000 matches similar to: "Vim and .rhtml"

2006 Aug 06
10
editor recommendation
Hello lsit, I''am new to rails (about 2 hours) and after the first lines of code I must say: Great! I love it! Can someone recommend me a editor? I run Ubuntu Dapper. Th?ngs -- Jochen Kaechelin, fvgi242ss, wlanhacking.de http://mail.wlanhacking.de/cgi-bin/mailman/listinfo http://www.gissmoh.de - Mein sonstiges Leben!!
2006 Apr 24
12
Design Decisions
Hi All, I am doing some research on how people start with their Rails app. What design decisions are made and how is it build. For example: - do you use scaffolding and go from there? Or do you create everything from scratch? - are you using multiple controllers? Or do you put everything in one? - do you use migrate? - how do you use migrate? Do you call migrate your self or do you use the
2006 Apr 10
4
Best way to propogate model rules to controller?
Hey everybody, I''ve got a model that represents kind of a turn-based games. Certain actions can only be made unders certain conditions. For simplicity, we''ll say that the only condition for a particular action is that the weekday be Tuesday. def add_vote raise ''You cannot vote today'' unless Date.today.wday == 2 ... end In my controller I want to show a
2006 Feb 10
7
convert rails object to javascript variables
Am i a total idiot to try and parse out a rails object for javascript in this way? <% for i in interface_items[0].attributes %> var <%= i[0] %> = "<%=h( i[1] )%>" <% end %> Am I missing something really obvious? Thanks, Mark -- -------------------------------------------------------------------- I am Mark Daggett and I approve this message.
2013 Feb 28
2
[LLVMdev] Propose to use rest.vim for vimrc of LLVM
Hello list, I use LLVM's vimrc and found that this setting below is useful when editing of reStructuredText file. llvm/utils/vim/vimrc " Enable syntax highlighting for reStructuredText files. To use, copy " rest.vim (http://www.vim.org/scripts/script.php?script_id=973) " to ~/.vim/syntax . augroup filetype au! BufRead,BufNewFile *.rst set filetype=rest augroup END
2006 Mar 16
23
AJAX on Mobile Internet Explorer
Hi! I try to get AJAX running on a mobile Windows Mobile 5.0 based device and failed. There should be a JavaScript support but nothing happens. Have any of you experience with the rails javascripts on a this platform or are there any hints, documentation on the net? tia, -- Daniel V?lkerts Protected by Anti Pesto.
2006 Apr 30
82
Mongrel 3.15, Ubuntu and Park place (S3)
Hello. I installed under Ubuntu (Dapper) Park Place. I followed the instructions given at the RedHanded site. I get the following mongrel error when launching the application: ** Please login in with `admin'' and password `pass@word1'' ** You should change the default password or delete the admin at soonest chance!/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.5/lib/mongrel.rb:584:in
2006 Feb 21
3
AJAX sub-list
In the new / edit screen for an "item" I''d like to be able to add/remove "sub-items" on pressing an add button below the "sub-items" a bit of a form shows up with the html looking something like: <div id="uniqueid"> <!-- label etc here --> <input type="text" id="sub_items[]" name="sub_items[]"
2013 Feb 28
0
[LLVMdev] Propose to use rest.vim for vimrc of LLVM
Thanks, Journeyer. I applied the patch with r176235. In future, you can submit patches to the llvm-commits mailing list. :) -bw On Feb 27, 2013, at 9:03 PM, Journeyer J. Joh <oosaprogrammer at gmail.com> wrote: > Hello list, > > I use LLVM's vimrc and found that this setting below is useful when > editing of reStructuredText file. > > > llvm/utils/vim/vimrc
2006 May 01
2
Find by time?
I''m trying to find events created after an initial date. I''m sure it''s something obvious, but I''m not sure why this isn''t working: def self.find_recent find(:all, :conditions=>"created_at > #{Time.local(2006, 4, 27, 22, 0, 0)}") end Time for more caffeine for me...
2007 Dec 14
2
Vim integration.
Hi, Does anybody have a vim script that enables me to run specs from within vim and have the cursor positioned on the right line in case of a backtrace? TIA, Erik.
2009 Oct 05
4
Vim-R-plugin (new version)
Dear R users, The author of Tinn-R (Jose Claudio Faria) now is co-author of Vim-R-plugin2, a plugin that makes it possible to send commands from the Vim text editor to R. We added many new key bindings, restructured the menu and created new Tool Bar buttons. The new version is available at: http://www.vim.org/scripts/script.php?script_id=2628 NOTES: (1) Some old key binding changed,
2006 Apr 02
6
Neat style trick
Not terribly exciting, but I was happy to think of it. I needed a div with a fixed height that could vary depending on page content. So I did this: <div class="listcntnr" style="height: <%= @users.size / 2 * 125%>px"> Whee! --Al Evans -- Posted via http://www.ruby-forum.com/.
2006 Mar 26
2
Shared Columns in an STI
I have a an STI table which acts_as_tree, that has a large number of classes/types. My common fields are: id parent_id name description with 4 more text fields, I could cover most of my classes if I could redefine the name of the field like this. text1 AS address1 text2 AS address2 text3 AS zipcode For one class and text 1 AS model_number text2 AS vendor Is there a construct that will allow
2011 Jun 18
1
Vim-R-Plugin issue : Python interface must be enabled to run Vim-R-Plugin
I am trying to get the Vim-R-Plugin<http://www.vim.org/scripts/script.php?script_id=2628> to work with gvim and R on Windows 7. When I open a .R file in VIM, it complains and says ""Python interface must be enabled to run Vim-R-Plugin." I have installed pywin32 for python 2.7, and added the following 4 lines to my _vimrc per the instructions
2009 May 08
2
Vim R plugin-2
Dear R users, People who uses vim in Linux/Unix may be interested in checking the plugin for R that I'm developing: http://www.vim.org/scripts/script.php?script_id=2628 The plugin includes omni completion for R objects, code indentation and communication with R running in a terminal emulator (xterm or gnome-terminal). This last feature was already present in Johannes Ranke's plugin.
2006 Feb 14
2
AJAX on page load
Ok, I''m missing something obvious but after some reasonable looking in _The_ Rails book (sorry haven''t gotten the cookbook yet) and these archives I don''t see a solution to my question. Question: What is the cleanest way to load a div via AJAX when the page loads - no user action necessary. I don''t really want to hack in a hidden remote form or link that is
2006 Aug 18
2
printing out text in .rhtml files
Hi all, In php i can do something like this: <?php print ''hello''; print '' world''; ?> Is there an equivalent to print in eruby, or do I have to use multiple <%= %> lines? Thanks! Jack p.s. I tried posting this before, but I don''t see it. Sorry if this is a repeat. -- Posted via http://www.ruby-forum.com/.
2010 Jan 25
1
Markdown settings for vim?
Anyone recommend a markdown plugin/(syntax highlighting, indentation and other filetype-dependent settings) for vim? There seems to be a bunch of files floating around, I wondered if anyone had any opinions about which is best. thanks
2009 Mar 06
1
R and vim (gvim) on ubuntu
Dear all - I do fret this to be a revealing beginner question - fortunately, this mailing list have been good to me in the paste .-) I am looking for a good R editor/environment in ubuntu. To that end, I have decided to dive into gvim as the modality offered here seems to make sense for editing. I want to use Johannes Ranke's vim r-plugin, but I can't make it work. I have the plugin