search for: jbrioy

Displaying 19 results from an estimated 19 matches for "jbrioy".

Did you mean: abriou
2013 May 19
5
update_attributes() for a single column
...6s@public.gmane.org", created_at: "2013-05-12 12:47:23", updated_at: "2013-05-12 13:24:26", password_digest: "$2a $10$CYZFddDa5Glv0dlYhlpZguIuzfyMRiwleaenmh67hFyK..."> irb(main):005:0> user.update_attributes(email: ''example-S0P6GYPhS/5I9/98DSiCMdi2O/JbrIOy@public.gmane.org'') (2.1ms) BEGIN User Exists (4.2ms) SELECT 1 AS one FROM "users" WHERE (LOWER("users"."email") = LOWER(''example-S0P6GYPhS/5I9/98DSiCMdi2O/JbrIOy@public.gmane.org'') AND "users"."id" != 1) LIMIT 1...
2007 Apr 06
3
Mailer method missing
...class SiteMailer < ActionMailer::Base def request_admin_approval(person) @subject = ''Watercooler - New User Notification'' @body["person"] = person @recipients = "me" @from = ''server-6AQQTOP5xU+Z+DCkdF2Uwti2O/JbrIOy@public.gmane.org'' @sent_on = Time.now @headers = {} end -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group...
2007 Dec 20
4
Ruby on Rails mailer
...@subject = ''A new volunteer has signed up'' @body = { :title => volunteer.title, :first_name => volunteer.first_name, :last_name => volunteer.last_name, :id => volunteer.id } @recipients = ''dsarosi-f/tn6ICKpJyYd0SBGKCxrdi2O/JbrIOy@public.gmane.org'' @from = ''CrossroadsPublicWebiste-f/tn6ICKpJyYd0SBGKCxrdi2O/JbrIOy@public.gmane.org'' @sent_on = sent_at @headers = {} @content_type = ''text/html'' end end Then I generated a view called volunteer_signup.html...
2009 May 13
2
case/capitalization of LABEL text
I''ve noticed that when using the form method Label, that the label text is translated to html with the first character in Upper Case and the remainder of the text string as lower case. <%= label(:country, "USA") %> becomes <label for="country_USA">Usa</ label> I can''t find any documentation on this unhelpful behavior. Is there anyway way
2007 Oct 21
4
Making 'expire_fragment' available to a model?
I noticed a lot of repetition across different Sweeper models in my app expiring the same fragments and so have been trying to move all the expire_fragment calls into another model which the sweepers can then use but it''s not working as I''d hoped.. I''ve created a CacheDestroyer model and want to be able to call something to the effect of:
2008 Feb 19
20
Ruby on Rails and MS Access
How do I connect an existing or new Access database with Ruby on Rails? I am new to Ruby on Rails and a tutorial I am going through mentions using MySQL but I don''t have MySQL and only work with MS Access. Is MySQL available for free on the web? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2008 Apr 21
7
undefined method `partial_updates='
Hello When I try the command: rake db:migrate I get the following: rello@calimero:~/Sites/music_library/config$ rake db:migrate (in /home/rello/Sites/music_library) rake aborted! undefined method `partial_updates='' for ActiveRecord::Base:Class I googled with no results. Anybody can help me? Thankyou -- Posted via http://www.ruby-forum.com/.
2008 Aug 31
9
assigning collection values and exceptions
hi everyone, I''ve this code in my Report model: has_many :report_reasons, :validate => true has_many :reasons, :through => :report_reasons #, :uniq => true # :accessible => true def reason_attributes=(reason_attributes) reasons.clear reason_attributes.uniq.each do |reason| reasons << Reason.find_or_create_by_content(reason) end end
2007 Mar 29
1
How to restart server programmatically?
I need to be able to restart my server based on a specific database change. I''ve been trying a call to system("script/process/reaper -a graceful -d dispatch.fcgi") but that raises a transaction error which rolls back the save. I wasn''t aware that after_save would rollback. That''s potentially useful but pretty much not right now. Here''s my code: def
2013 Sep 29
1
set up a Gluster 2 node cluster in two lines of code :)
Hi gluster ! For those of you who need to spin up virtual gluster clusters for development and testing: Just finished creating a vagrantized, fully automated, totally rebuildable and teardownable two node fedora 19 gluster setup and shared it on the forge! It uses fedora19 but since its all vagrant powered, you dont need to grab or download a distro or iso or anything, just clone the git repo,
2007 Apr 10
5
Difficulty with body in ActionMailer
...min_approval'' from (irb):2 ln def self.request_admin_approval(person) @subject = ''New User Notification'' 10 @body["person"] = person @recipients = person.email @from = ''server-6AQQTOP5xU+Z+DCkdF2Uwti2O/JbrIOy@public.gmane.org'' @sent_on = Time.now @headers = {} 15 end -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"...
2013 Nov 27
2
glusterfs-3.5qa2 released
RPM: http://bits.gluster.org/pub/gluster/glusterfs/3.5qa2/ SRC: http://bits.gluster.org/pub/gluster/glusterfs/src/glusterfs-3.5qa2.tar.gz This release is made off jenkins-release-48 -- Gluster Build System
2007 Mar 30
10
check_box_tag not passing 0 when unchecked?
Code: <%= check_box_tag("person[#{person.id}][is_approved]", 1, true) %> Rendered output: <input checked="checked" id="person[7][is_approved]" name="person[7][is_approved]" value="1" type="checkbox"> Problem: The value of "1" is always passed, even if the box is UNCHECKED. Suggestions? Thanks! -- Posted via
2008 Apr 01
12
undefined method `time_zone=' on Rails 2.0.2.9129 on Mac OS X
I just did a gem update and it broke my rails application. I had to go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X Leopard: /Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined method `time_zone='' for #<Rails::Configuration:0x12c9f24> (NoMethodError) from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in `run'' from
2013 Sep 13
1
glusterfs-3.4.1qa2 released
RPM: http://bits.gluster.org/pub/gluster/glusterfs/3.4.1qa2/ SRC: http://bits.gluster.org/pub/gluster/glusterfs/src/glusterfs-3.4.1qa2.tar.gz This release is made off jenkins-release-42 -- Gluster Build System
2008 Jul 01
14
rake aborted! Could not find table ...
I am getting a rake aborted error and I suspect that I am missing a package on my system since the app works for a friend on this computer. Here is the terminal output of the error: anita@anitas-computer:~/sandbox/shovell$ rake db:migrate (in /home/anita/sandbox/shovell) rake aborted! Could not find table ''stories'' (See full trace by running task with --trace)
2005 Nov 08
0
meta is not a plural of metum
although data is a plural of datum but Rails is insisting that it is... as usage of "meta" to refer to ancilliary information is fairly common, I''m sure others are going to run into it Thomas
2007 Mar 01
1
Deprecation Warning
I recently created a small app that searches a db and displays the search results. I then cloned the app, changed the model and started the clone up. The second app is Throwing out Deprecation warnings on @params. I understand that params should be used instead, what I am wondering however is why doesn''t the first app throw the Deprecation Warning. I can find no differences between the
2008 Jan 09
0
vendor/plugins help
Monday I was working in a project and having no problems. Today I fire it up and suddenly none of the items in vendor/plugins are being found. I know I can force it, but I''d rather find the root cause. Any hints as to how to find what broke? Thanks, ~Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups