Displaying 14 results from an estimated 14 matches for "cardarella".
2008 Sep 08
2
Restful Authentication and State Machine state transfer question
...ng else going on that saves the record. I don''t see any type of
observer running that will save the record upon a state change. I
understand the purpose of state machines but for whatever reason I
just cannot see how this plugin is saving the record. Any help would
be appreciated.
- Brian Cardarella
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send e...
2011 Feb 08
4
Remove ActiveRecord::Relation#& alias for 'merge' ? (or at least only reference and not use in AR)
Would the core team be open to the removal of the ''&'' alias for
ActiveRecord::Relation#merge?
The reason is that in Ruby the ''&'' operator refers to an intersection
of two sets of data, not a merge. (within the context of the Array
class)
Recently Arel added support for SQL Set Operators:
2-0-stable:
2006 Jun 23
4
Ajax.Request with page reload?
I need to send a POST request via a link, along with paramater data for
an action, and the page needs to reload. link_to_remote worked great
when I was updating a DOM element but obviously won''t work when I need
to reload a page. Is there an option
--
Posted via http://www.ruby-forum.com/.
2006 May 18
3
Two-Dimensional Hashes through links?
I''m really hitting a wall here. My program has a search engine, returns
a list of results. I am using a two-dimensional hash to pass the form
data back to my controller. (i.e. params[:job] => {:description =>
"xxx", :location => "xxx", company => "xxx"}) I use that Job object to
search my database, and then wait for user input.
Now when the
2007 Jan 20
2
Rails 1.2.1 console not working
I''m running Rails 1.2.1, Ubuntu Server 6.10 and my console isn''t
running... same project checked out via SVN runs in console on my
Windows machine.
error:
brian@rails-server:~/work/mediabump$ ruby script/console
Loading development environment.
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/console.rb:25:in
`exec'': No such file or directory - irb -r
2006 May 27
3
Saving an Array to MySQL... data changes...
I have a multiple select menu:
<%= select_tag ''resume[employer_1_industry][]'',
options_for_select(industries_helper, @resume.employer_1_industry),
:multiple=> true %>
It produces this HTML:
<select id="resume[employer_1_industry][]" multiple="multiple"
name="resume[employer_1_industry][]">
<option value="">-
2013 Mar 26
2
Using rack.hijack with ActionController::Live
Pinging @tenderlove
Some questions on how best to move forward with this:
1.) AC::Live is making use of the stream object on
ActionDispatch::Response. Should the rack.hijack_io object be used instead
of this in AC::Live or should ActionDispatch::Response be changed to use
rack.hijack_io?
2.) What do you think about changing AC::Live to work with adapters? I
suspect the primary use case for
2013 Jun 08
1
ActiveSupport::Concern support Module#prepend?
I''ve monkey patched this behavior into a gem and I was wondering if core
would be interested in a PR to add Module#prepend support to
ActiveSupport#Concern. I''ll add tests of course.
The code is here:
https://github.com/dockyard/easy_auth/blob/master/lib/easy_auth/active_support/concern.rb
My monkey patch work for what I''m trying to do but I suspect a better
2010 May 24
6
Problem Installing Rails 3
I''m trying to install Rails 3 on a brand new MacBook Pro running OS X
10.6.3, Ruby 1.8.7, and Rails 2.3.5 and I''m wondering if I''ve hosed
myself. So far, I''ve run these commands:
$ gem update --system
$ gem install arel tzinfo builder memcache-client rack rack-test rack-
mount erubis mail text-format thor bundler i18n
$ gem install rails --pre
However, when I
2009 Mar 12
7
Is Mongrel dead?
Is Mongrel dead? When I look at http://mongrel.rubyforge.org/wiki/News
the latest news was from close to a year ago, when last version of
Mongrel was released. A look at the tickets shows a rather sad picture
with only two developers “evanweaver” and “luislavena” contributing to
the bug fixes lately.
Please understand that I am not complaining – I just want to know the
situation so that I can
2006 Jun 15
0
Back Button Blues?
I know that this subject has been brought up a few times in this forum,
and I have seen the ONJava.com article (plan to print it out and read it
entirely after work). Most of the posts are from at least 4 months ago.
Has there been any development in this area? Are there any example sites
out there that use the ONJava example, or another example... or better
yet has anyone written a RoR
2006 Jun 27
0
Webrick & Internet Explorer... timeout POST issues?
I am using IE 7 beta2... but I have tested this with previous IE
versions (6+) and get the same results... both FireFox and Opera work
fine.
My app does a search (POST), then I click on a record (GET), but if I
hit the BACK button my app breaks because IE tells me that the web page
has expired. I can click on RELOAD, it will ask me to send the POST
request again, I do, and everything is
2006 May 23
1
Form Field Helpers... Do they need objects?
I''m trying to use the select helper but do not need to pass the values
back to an object because this is just used as a param value. Everywhere
I''ve looked I see that the form field helpers require an object name.
I''ve tried omitting the name but I get an error telling me I have two
few paramaters. (2 out of 3)
Other than typing out the HTML myself (because the
2006 May 25
5
CSS Effects? (javascript?)
Is there a way to assign a CSS style to an element I am not currently
interacting with? For instance, if I have two TD elements of a table. I
click on one of them, and I want to have a style change in the other
element. Is this possible?
I''m guessing script.aculo.us might be able to help me.... but
considering how nothing on their site is loading for me right now I have
no way of