Displaying 20 results from an estimated 107 matches for "ravet".
Did you mean:
rave
2007 May 16
7
bilingual site: exclude fields set from query
...well
- first_name, last_name
Depending on the visitor language choice I need to exclude the first
three, or last three fields when query processing. Is this doable
relatively simply?
I guess I could use two indexes, but I''d like to keep using
acts_as_ferret if possible.
TIA.
Alain Ravet
--------
http://blog.ravet.com
2007 May 19
4
button_to_function with image?
Hi:
does button_to_function allow the use of an image? I tried it in place
of the text with "image_tag" and it doesn''t work. Maybe some form of
button_to?
Any direction you can give would be great!
Mike
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2007 Jan 24
6
dojo and prototype compatibility?
are there any compatible issues that exist when trying to use both
prototype and dojo at the same time?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this
2005 Dec 16
13
How to pass a collection to paginate?
There must be a better way to write this code:
@project_pages, @projects= paginate :project,
:per_page => 10,
:conditions => ["account_id = ?", account]
?!
If only I could pass the sub-collection
account = ...
@projects = account.project
to paginate, instead of letting it extract it with a find :all + sql
conditions
Alain.
--
Posted via
2006 May 17
13
Using NTLM for S.S.O. in Rails
Greetings all,
To all the good souls that happen to know NTLM and Rails....
Short version:
--------------
- I''m looking for server code to extract credentials through NTLM dialog
with the client (IE)
- I found nothing usable/useful (as they both implement the client side
code) in
- rubyntlm on rubyforge
- lib ntlm-ruby by Jonathan Bastien-Filiatrau
LONG version:
2005 Dec 21
7
Are there any disadvantages to using locomotive
Hi:
I had some issues and so switched to locomotive. I find it awesome. 1
click and its done.
My question - what disadvantages are there, if any? What do I lose by
using such a convenient solution.
speculation as well as facts are welcome but please define which you
are putting forwards.
Thanks in advance,
bruce
2005 Dec 15
4
rake migrate ignores '':null => false'' on mysql
I wanted to add a login string column to an existing table
=> I created a migration :
...
def self.up
add_column "members", "login" , :string, :null => false
end
...
remark: it shouldn''t work, as the table is not empty (=> ''login'' would
be null in the existing rows.)
problem:
rake migrate didn''t complain
2006 Mar 22
6
Project management
Hello for all,
Anyone using any software for management your projects?
Thank''s
--
Posted via http://www.ruby-forum.com/.
2006 May 25
6
150 Rails Plugins
The Rails Plugin Directory now has over 150 plugins and RDoc support
too: http://www.bencurtis.com/archives/2006/05/150-rails-plugins/
--
Benjamin Curtis
http://www.bencurtis.com/
http://www.tesly.com/ -- Collaborative test case management
http://www.agilewebdevelopment.com/ -- Resources for the Rails community
2006 Feb 11
5
acts_as_taggable : plugin vs gem
Googling for acts_as_taggable is a little confusing: gem, plugin?!
What are the differences?
Which one to choose?
Where is the best doc?
Alain
2007 Nov 13
8
acts_as_ferret : cannot use a customized Analyzer (as indicated in the AdvancedUsageNotes)
Hi all,
I cannot make aaf (rev. 220) use my custom analyzer, despite following the
indications @
http://projects.jkraemer.net/acts_as_ferret/wiki/AdvancedUsage
To pinpoint the problem, I created a model + a simple analyzer with 2 stop
words : "fax" and "gsm".
test 1 : model.rebuild_index + model.find_by_contents("fax") # fax is a
stop word.
=> I get a
2006 Mar 29
5
EdgeRails: "undefined method `weight'' for #<Hash:
...ample project found on the Wiki at
http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails
, and everything was working fine, ... till I moved to EdgeRails :
undefined method `weight'' for #<Hash:0x22c7150>
(full error thread below)
Any idea?
Alain
/Users/aravet/Desktop/Locomotive/Bundles/RubyonRails-1.0-Min.locobundle/Contents/Resources/unix/lib/ruby/site_ruby/1.8/ferret/search/index_searcher.rb:107:in
`search''
/Users/aravet/Desktop/Locomotive/Bundles/RubyonRails-1.0-Min.locobundle/Contents/Resources/unix/lib/ruby/site_ruby/1.8/ferret/index/inde...
2005 Dec 16
6
managing belongs_to fields in a form
Hi all,
I cannot find a clean way to create/edit an object that ''belongs_to''
another one, just by using form fields.
I always need to explicitely unassemble it, store the master id in a
hidden field, and then refetch the master from its id, and put it back
in the object.
To summarize:
I want to create a new member, for a given project
@project= ...
@member =
2006 Feb 12
3
Invoke render multiple times
I need to invoke render() multiple times. This is not to render a
response to the browser but to get the result of render() and put it in
files. Is there another way to do it if it''s not possible to do it
directly with render()?
Btw, what''s the reasoning behind only allowing render() to be called
once a request?
/Marcus
2006 Feb 20
2
OT: screencast Editor for MacOs X?
Hi all,
On MacOS, we have SnapZ Pro to RECORD screencasts.
Is there a comfortable - *1 - screencast Editor, like CamTasia on
Windows?
At the very minimum I want to cut parts of the movies, insert "slides"
and superpose drawings (frames, arrows, ..) or text?
Alain
*1 : not FinalCut, obviously.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 28
4
How to use Ruby on Rails on OS X
Direct from the horse''s mouth. :-)
http://developer.apple.com/tools/rubyonrails.html
Found via:
http://digg.com/technology/Apple_makes_a_concise_Ruby_on_Rails_tutorial
--
-- Tom Mornini
2005 Dec 18
2
[Bug?] in tests, @foo.bars_count <> @foo.bars.count
Example: if a ''foo'' has 3 ''bars'',
bars_count == "0" # ERROR
bars.count == 3 # OK
It looks like a bug to me.
Alain
--
Posted via http://www.ruby-forum.com/.
2005 Dec 20
2
printing/logging during tests
Hi all,
I''m trying to output some info to see what''s happening in a controller
during functional tests.
Problem: ''print'' only works in the test code, but not in the production
code that''s being called by the tests.
Example:
In FooControllerTest:
def test_list
print "1: starting" <<----- WORKS FINE
get
2007 Mar 22
1
doable ? action caching if anonymous, fragment caching if logged in ?
Hi All,
I''d like to use different caching strategies based on the visitor status
- anonymous => action caching
- logged in => fragment caching
Is that doable? Where should I start?
TIA
Alain
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2005 Dec 16
6
active record outside of rails
I really like how Active Record logs the SQL that is executed inside of
rails. Is there a way to get the SQL output when using Active Record
outside of rails?
Thanks,
phil
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails