Displaying 19 results from an estimated 19 matches for "schneeman".
2008 Jun 12
11
auto_complete with multiple params
I''m using the auto_complete plugin, and it works great, my problem is i
need to pass multiple parameters to the controller other that what is
typed in the text field.
<%= text_field_with_auto_complete :search, :contains, :size => 15,
:frequency => 0.1, :skip_style => true -%>
This is what i have as of now, but i also need to pass ":language =>
@default"
2008 Dec 28
7
2.2.2 simple_captcha upgrade error
So thanks to Craig, i got up and running on rails 2.2.2, though now i''m
dealing with a whole new can of worms. I''ve done a good bit o searching
and haven''t found any solid leads. I''m using the simple_captcha plugin
on my site, and all is well until i call that plugin.
http://www.pastie.org/347721
ActionView::TemplateError (undefined method
2012 Sep 25
9
Any rails experts able to offer some advice?
Hello all.
#1 I am working on a rails3 gem called Yarder
(https://github.com/rurounijones/yarder). The goal of this gem is to
replace the rails logging system with one that is JSON based rather than
string based.
#2 To this end I also recently asked this list about making the
LogSubscribers subscriptions to ActiveRecord::Notifications configurable
and am looking at submitting a patch
2009 Jan 31
9
Maxima and Ruby Integration
I''m looking to write a javascript heavy clientside program with a
something serverside backend that connects to the free maxima math
program. I have extensive knowledge of ruby on rails, so I would prefer
to call Maxima with ruby, but I don''t know if this is even possible. Its
fairly easy to call Maxima (with a lisp implementation) using ANSI C, it
is a little less easy to
2009 Apr 01
3
make a <tr>clickable
I would like to make an entire table row clickable so the user will be
directed to another url. If i was using hand written javascript i would
just add an onclick to the <tr>, but i want to use rails routes and to
be able to pass in parameters from ruby. What is the best way to
accomplish this?
<tr onclick = <%= link_to my_route_path %> > <td>content</td></tr>
2008 Oct 28
3
Backwards N+1 problem
Hey, i’m running into an N+1 problem, but i don''t exactly know how to
:include in this situation. (controller code is at the bottom).
I''m trying to find all of the highest ranked definitions, and then
render their associated phrases.
A Phrase has many definitions. A Definition has many children
I already have all the info i need stored in @definitions, so this
should only
2012 Aug 16
1
[error] rake db:create
i try run this command
but appear this error someone can help me?
see the error: http://paste.ideaslabs.com/show/IFSSXASQyM
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/XRxX9RXunsYJ.
To post to this group, send email to
2008 Jul 07
1
link_to_remote multiple :with =>
i have a link to remote and i need to pass two values provided by select
boxes to it, a language, and a page count (hits per page to be
paginated) how do i get the code below to send both arguments??
<%= link_to_remote "#{element}", :update => "a_z_replace", :loading =>
"Element.show(''a_z_indicator'')", :loaded =>
2008 Dec 02
2
Does a method string.to_class exist?
I have A Definition model, is it possible to do something like this in
Rails 2.1.0, Ruby 1.8.6 :
foo = "Definition"
@definition = foo.to_class.find(:all)
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2012 Nov 29
0
The last call for Fukuoka Ruby Competition! - Matz's videos are available!
...ard-winners.html>
Engine Yard CEO and VMware CTO of Cloud Applications also joined us at the
last award ceremony<http://www.myfukuoka.com/events/2012-fukuoka-ruby-forum.html>
.
Also, for those who missed Matz''s keynotes, as well as, *Ian McFarland*, *Jeanine
Swatton*, *Richard Schneeman*, *Kazuaki Tanaka*''s keynotes on Oct 17 and 18
at Twitter and LinkedIn, here is the link to the recorded videos.
*
http://www.myfukuoka.com/news/technology-news/videos-of-2012-fukuoka-ruby-nights.html
*
We look forward to receiving your entry!
Best regards,
Kaz
--
You received this...
2008 Dec 02
1
form_for with partial using do |@f|
Is it possible to pass this FormBuilder object to a controller and then
back to a partial?
I have a form rendering a partial that i would like to update with a
call to my controller based on user selectable parameters, but when the
AJAX comes back, i get this error message because i cannot pass a form
builder object between the controller and the view:
"undefined method
2008 Nov 21
1
uninitialized constant ActionController::Caching::Fragments
Hey, i''m trying to use "s3cache" plugin with my app, but after adding it
to my vendor/plugins directory and following the install steps i''m
getting this error after running script/server:
/Users/richardschneeman/Documents/AptanaStudio/slangasaurus/vendor/rails/activesupport/lib/active_support/dependencies.rb:275:in
`load_missing_constant'': uninitialized constant
ActionController::Caching::Fragments::UnthreadedFileStore (NameError)
from
/Users/richardschneeman/Documents/AptanaStudio/slangasaurus/...
2012 Jul 26
2
Using the :layout option when calling render @variable
Hey everybody,
I wanted to use the :layout option when calling render @variable (where
@variable is some ActiveRecord class instance with a corresponding
variables/_variable.html.erb partial view), but as far as I know, Rails
doesn''t support this.
Here''s a quick patch that allows to use the :layout function:
In partial_renderer.rb, add the following elsif block:
if
2013 Jan 23
2
Problem with Bootstrap-SASS
I''ve installed bootstrap-sass, and added an @import line in my css. Rails
won''t find or serve up the bootstrap files. One error msg on the Mozilla
console says:
The stylesheet http://localhost:3000/assets/bootstrap was not loaded
because its MIME type, "application/javascript", is not "text/css".
Hmm. If I change the @import to say
2013 Mar 28
1
undefined method 'sanitize_limit' for #<ActiveRecord::Relation:0x2aaaad35d720>
I am trying to upgrate rails from 3.0 to 3.1, while updating rails version
I am getting following error
rake aborted!
undefined method `sanitize_limit'' for
#<ActiveRecord::Relation:0x2aaaad35d720>
/some_package/lib/ruby/gems/1.8/gems/activerecord-3.1.12/lib/active_record/relation.rb:460:in
`method_missing''
2012 Sep 15
10
Versioning of Views; Our Approach
My friend Ben Willis and I have developed a gem for the versioning of Rails
views.
https://github.com/bwillis/versioncake
The versioning is done by the naming convention. Image the following
series of files :
show.v3.json.jbuilder
show.v2.json.jbuilder
show.v1.json.jbuilder
create.v2.json.jbuilder
create.v1.json.jbuilder
The developer pre-defines all view versions in their config. When a
2013 Jan 25
9
Object#tap_if and Object#tap_unless
I originally brought this up in: https://github.com/rails/rails/issues/9067
Rails paved the way for Object#tap and Object#try...I''d like to propose
Object#tap_if and its counterpart,Object#tap_unless.
I''ve been following 37signals conventions of tapping variables in the views:
<% account.owner.tap do |user| %>
...
<% end %>
But, I find myself having to do this
2009 Apr 28
0
google adsense breaks render :partial =>
Hey everybody, i''ve got a control that returns a partial, no biggie.
Except when that partial contains the javascript for my adsense account.
Then the partial renders correctly, and then quickly replaces my page
with nothing by the ad. When i take away my adsense js, everything works
great. Has anyone encountered this before, or know how to get around it?
def submit_remote_form
render
2009 Jun 29
0
receiving email in production
Question: Is there a way to make rails show the same information about
received emails in production environment as in development?
Reason:
I''m using mailer fetcher daemon to get email into my app, everything
works fine in development environment on my local machine, i get my
mail, everything shows up as it should in my log.
When I use the same connection settings in my production