Arpit Prasad
2012-Dec-04 23:09 UTC
RE: Abridged summary of rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org - 37 Messages in 16 Topics
We are seeking a front-end Rails developer who has experience developing consumer facing web sites. Arpit Prasad 510-254-5630 (O) 925-303-5044 (M) From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] Sent: Tuesday, December 4, 2012 12:39 AM To: Abridged Recipients Subject: [Rails] Abridged summary of rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org - 37 Messages in 16 Topics Today''s Topic Summary Group: <http://groups.google.com/group/rubyonrails-talk/topics> http://groups.google.com/group/rubyonrails-talk/topics § why we are Using self.method_name? [2 Updates] § create conditions in model [3 Updates] § Rails devise and twitter [2 Updates] § How do you get the activerecord tests to NOT eat stdout or useful stack trace information? [3 Updates] § Can not render pre designed html template from public directory [1 Update] § heroku deployment [1 Update] § how to change sqlite3 to mysql..?? [1 Update] § Starting rails server problem [7 Updates] § Controller helper_methods in template [1 Update] § cannot store correct Time in timezone [6 Updates] § Rails 3.2 session id nil until next request [2 Updates] § storing gems locally in production [1 Update] § Activemerchant Barclays EPDQ [1 Update] § Stop User from Changing URL [3 Updates] § How to remove duplication for similar behaviour? [1 Update] § Rails seo friendly urls [2 Updates] <http://groups.google.com/group/rubyonrails-talk/t/4371deb89b3a631c> why we are Using self.method_name? thil <thil.1212-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 11:26PM -0800 class A def self.b print "this is static methods" end end You can only be able to call the method "b" by using : A.b that wat I am trying to say. On Wednesday, 28 November <http://groups.google.com/group/rubyonrails-talk/msg/26ae2da397403395> ...more thil <thil.1212-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 11:33PM -0800 Hi Jordon, Thanks for your information and I agree on wat your saying. Thanks, Senthil Srinivasan On Wednesday, 28 November 2012 19:32:01 UTC+5:30, Jordon Bedwell wrote: <http://groups.google.com/group/rubyonrails-talk/msg/f6c82da8ae6bbddd> ...more <http://groups.google.com/group/rubyonrails-talk/t/1d884db424d44d79> create conditions in model tamouse mailing lists <tamouse.lists-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 09:34PM -0600> def self.searchadv(title, place, category, date)Colour me doubtful, but since you''re passing in category and date, why are you using place in your category and date subclauses? <http://groups.google.com/group/rubyonrails-talk/msg/1d07a8cd7fc63872> ...more Jim Ruther Nill <jvnill-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 04 11:46AM +0800> my search and I don''t undertand why the error is in the "LiKE"> Does anyone could help me please?> Thanks in advance!you can also do it like this def self.searchadv(title, place, <http://groups.google.com/group/rubyonrails-talk/msg/361309487b4af5e3> ...more Jim Ruther Nill <jvnill-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 04 11:47AM +0800> This is using rails 3. But you can still use this for rails 2.3 (i''m not > sure what version they introduced this), > you just have to change the where calls to scopedthe last line that <http://groups.google.com/group/rubyonrails-talk/msg/ee2a185bf5ac0fde> ...more <http://groups.google.com/group/rubyonrails-talk/t/6d21b9b49b61af2b> Rails devise and twitter "Ciunix M." <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> Dec 03 04:41PM +0100 Hi all I''m following this guide: http://railscasts.com/episodes/235-omniauth-part-1?language=it <http://railscasts.com/episodes/235-omniauth-part-1?language=it&view=asciica st> &view=asciicast when I try to connect by twitter (localhost:3000 or 127.0.0.1:3000) I <http://groups.google.com/group/rubyonrails-talk/msg/961e4d40b656fd0d> ...more tamouse mailing lists <tamouse.lists-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 08:39PM -0600> have to check Application type client in twitter but I cannot find the > twitter page?> could you help me please? ora could you suggest me a basic tutorial?I''m not sure what you''re trying <http://groups.google.com/group/rubyonrails-talk/msg/d90a1fbf1074c1f6> ...more <http://groups.google.com/group/rubyonrails-talk/t/f86902087d9da864> How do you get the activerecord tests to NOT eat stdout or useful stack trace information? Robert Buck <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> Dec 03 05:02PM +0100 Thanks, Fred. I don''t know if this is a mini-test thing or what. But having dots show instead of test names is annoying. Do you know of a way to completely disable that behavior. <http://groups.google.com/group/rubyonrails-talk/msg/17dd6e5f13931a51> ...more Robert Buck <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> Dec 03 05:08PM +0100 I just looked at the debug.log file -- utterly useless information there, no correlation to what test is running WRT the debug output. Robert Buck wrote in post #1087662: -- <http://groups.google.com/group/rubyonrails-talk/msg/888ad3ce5c579067> ...more Frederick Cheung <frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 03:02PM -0800> issue. What I really need to know is what test was executing immediately > before the first of these. I really need a full log of all output blow > by blow. I will try disabling the fixtures.<http://groups.google.com/group/rubyonrails-talk/msg/95ec91c5bc3c461d> ...more <http://groups.google.com/group/rubyonrails-talk/t/c9a1b6fd287fe960> Can not render pre designed html template from public directory John <mr.johnamato-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 12:36PM -0800 Hello, I have a designed template *public/test/show.html* with following sample html code. There is a css file and images in the mentioned directory. <html xmlns="http://www.w3.org/1999/xhtml"> <http://groups.google.com/group/rubyonrails-talk/msg/982912dda6fc3c7c> ...more <http://groups.google.com/group/rubyonrails-talk/t/656808fd31b1482b> heroku deployment Will <lliamhendricks-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 01:33PM -0800 I just use apps from different directories and they create new applications on heroku... no worries about public key etc. On Saturday, December 1, 2012 4:46:45 AM UTC-8, Bhimasen Routray wrote: <http://groups.google.com/group/rubyonrails-talk/msg/8a8533b68e963d87> ...more <http://groups.google.com/group/rubyonrails-talk/t/361d9743cb4a5748> how to change sqlite3 to mysql..?? Mikaele Pereira <mikaele164-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 10:28AM -0800 myproject user$ cd user $ *rails new myproject -d mysql* say ''no'' for all question but for'' Overwrite .../myproject/config/* database.yml*? (enter "h" for help) [Ynaqdh]'' say ''yes'' <http://groups.google.com/group/rubyonrails-talk/msg/b69b883842830da2> ...more <http://groups.google.com/group/rubyonrails-talk/t/6d727dd26d6b0630> Starting rails server problem "Derk D." <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> Dec 03 03:06PM +0100 Still fairly new to Ruby and Rails in general and trying to figure out how to address this error. I recently migrated to a new computer and now I get this error message when I try to start the <http://groups.google.com/group/rubyonrails-talk/msg/e74da76ab6851776> ...more Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> Dec 03 03:32PM> mac to the other changed from user to user1, now rails is still trying > to start the server using my old path. I just don''t know where I would > go to change that path and tell rails to look<http://groups.google.com/group/rubyonrails-talk/msg/39a0908eee4d5daa> ...more "Derk D." <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> Dec 03 04:45PM +0100 I installed rvm, ruby, rubygems and rails from scratch. However I had some apps and tutorials I was working on that I copied over from the old computer. -- <http://groups.google.com/group/rubyonrails-talk/msg/cbe4613e2251a623> ...more Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> Dec 03 03:50PM On 3 December 2012 15:45, Derk D. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: Please don''t top post, it makes it difficult to follow the thread. Insert your reply at appropriate point(s) in previous message. <http://groups.google.com/group/rubyonrails-talk/msg/4e43e1c5000a3a5c> ...more "Derk D." <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> Dec 03 08:51PM +0100 RVM OUTPUT ----- ruby-1.9.3-p125: system: uname: "Darwin Derks-MacBook-Air.local 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct 18 16:32:48 PDT 2012; <http://groups.google.com/group/rubyonrails-talk/msg/c35997375e9ecc0f> ...more Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> Dec 03 09:11PM> [x86_64-darwin12.2.1]"> homes: > gem: "/Users/derkdoijer1/.rvm/gems/ruby-1.9.3-p125"Is that path to the current logged in user?> The main issue I see is where it says<http://groups.google.com/group/rubyonrails-talk/msg/de0f0ae3690ab5ee> ...more "Derk D." <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> Dec 03 11:04PM +0100 1. Yes 2. Correct, if you look on the error where it says Library not loaded: /Users/derkdoijer/.rvm/rubies/ruby-1.9.3-p125/lib/libruby.1.9.1.dylib It''s still referring to my old username (I <http://groups.google.com/group/rubyonrails-talk/msg/1b401f0642bf3da2> ...more <http://groups.google.com/group/rubyonrails-talk/t/7ed6aed814414d5e> Controller helper_methods in template amkirwan <amkirwan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 01:19PM -0800 I''m trying to render a rails form using HAML outside of the normal Rails flow using the code below: template = File.join("#{Rails.root}", ''lib'', ''templates'') <http://groups.google.com/group/rubyonrails-talk/msg/8920e9a1f42da9ed> ...more <http://groups.google.com/group/rubyonrails-talk/t/9616fd3b420606dd> cannot store correct Time in timezone Erwin <yves_dufour-ee4meeAH724@public.gmane.org> Dec 03 03:10AM -0800 I am storing a Time record w a timezone like : an event at 9:30 in Paris time (rdb:1) Time.zone = "Europe/Paris" "Europe/Paris" (rdb:1) Time.new(2012, 12, 3, 9, 30, <http://groups.google.com/group/rubyonrails-talk/msg/6d15e04ba8c6b829> ...more Norbert Melzer <timmelzer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 12:21PM +0100 Time. New uses the default system timezone when no one is given, so u say that you want 9:30 of your systems timezone in GMT, which is probably 8:30 GMT, depending on your local time zone. <http://groups.google.com/group/rubyonrails-talk/msg/a7badb0ace1f9b2f> ...more Erwin <yves_dufour-ee4meeAH724@public.gmane.org> Dec 03 06:36AM -0800 Thanks Norbert, my issue is that I don''t see how to do that : As per the doc I can defined the time_zone to be used for a specific block (rdb:1) Time.use_zone("Europe/London"){ <http://groups.google.com/group/rubyonrails-talk/msg/e964e9eccaed63b6> ...more Erwin <yves_dufour-ee4meeAH724@public.gmane.org> Dec 03 06:39AM -0800 sorry I pasted the wrong test , but the result is the same Time.use_zone("Europe/London"){ Time.new(2012, 12, 3, 9, 30, 0).in_time_zone } Mon, 03 Dec 2012 08:30:00 GMT +00:00 # => I want <http://groups.google.com/group/rubyonrails-talk/msg/d71233215752897f> ...more Erwin <yves_dufour-ee4meeAH724@public.gmane.org> Dec 03 07:07AM -0800 [SOLVED] Time.zone.local(2012, 12, 3, 9, 30, 0) inside the TIme.use_zone did it ... 1.9.3p194 :011 > Time.use_zone("Europe/London"){ Time.zone.local(2012, 12, 3, 9, 30, 0) } <http://groups.google.com/group/rubyonrails-talk/msg/139f61dc5df23d3f> ...more Norbert Melzer <timmelzer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 09:21PM +0100 Time.new has a parameter for the timezone offset, use it, it would make your code more clean… http://www.ruby-doc.org/core-1.9.3/Time.html 2012/12/3 Erwin <yves_dufour-ee4meeAH724@public.gmane.org> <http://groups.google.com/group/rubyonrails-talk/msg/c0f829d3daaa6c16> ...more <http://groups.google.com/group/rubyonrails-talk/t/45eae6d3111054cc> Rails 3.2 session id nil until next request Phillip <omsdialogue-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 06:43AM -0800 Does this help? http://stackoverflow.com/questions/1035933/rails-2-3-session On Monday, December 3, 2012 3:19:56 AM UTC-5, robo wrote: <http://groups.google.com/group/rubyonrails-talk/msg/a0d334de83b55dc7> ...more Chase de Languillette <chase.delanguillette-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 11:09AM -0800 It seems like that''s in the same vein as my problem, but calling session[:session_id] doesn''t seem to be lazy loading the session info. I might try making sure the client also includes the CSRF <http://groups.google.com/group/rubyonrails-talk/msg/18293879c7369dfc> ...more <http://groups.google.com/group/rubyonrails-talk/t/b02afeb3123daf25> storing gems locally in production S Ahmed <sahmed1020-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 01:47PM -0500 Hi, I believe the /vendor folder stores the source code for gems locally correct? i.e. so it won''t look in the global gem folder or gemset if you are using rvm. How do you transfer/download <http://groups.google.com/group/rubyonrails-talk/msg/9fff7c29457490dc> ...more <http://groups.google.com/group/rubyonrails-talk/t/a573c19c375ea7ef> Activemerchant Barclays EPDQ johnnybutler7 <johnnybutler7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 10:09AM -0800 Hi Guys, I was just wondering if anyone has got activemerchant to work with barclays epdq payment gateway. There is a billing gateway for it but there are no examples or topics of people using <http://groups.google.com/group/rubyonrails-talk/msg/cc618a70b95a9864> ...more <http://groups.google.com/group/rubyonrails-talk/t/b46c4ae66da5d323> Stop User from Changing URL fuzzy <hlogoma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 06:42AM -0800 I have an authentication and autherization system built on the same lines outlined by Michael Hartl, rails tutorial. Here is the employees_controller.rb: class EmployeesController < <http://groups.google.com/group/rubyonrails-talk/msg/3405199c854e7761> ...more Jordon Bedwell <envygeeks-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 08:51AM -0600> ''employee'' to prevent a user from changing the url to circumvent the > sign-in, and also to govern the access to any other page without using > a gem?Store the userid in the session and then <http://groups.google.com/group/rubyonrails-talk/msg/e17f5f50223459e5> ...more fuzzy <hlogoma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 07:05AM -0800 Thanks Jordon ... I take your point ... I begin with some sites discussing both these issues, authentication, and authorization. fuzzy. <http://groups.google.com/group/rubyonrails-talk/msg/1a65cf9f4f858787> ...more <http://groups.google.com/group/rubyonrails-talk/t/2871106eca556493> How to remove duplication for similar behaviour? Guirec Corbel <guirec.corbel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 10:03AM -0500 Hello, On a website I created the is two commentable model, "project" and "actuality". You can view pages here : http://comment-my-projects.herokuapp.com/projects/1-comment-my-projects and <http://groups.google.com/group/rubyonrails-talk/msg/10688213f12ddb39> ...more <http://groups.google.com/group/rubyonrails-talk/t/b54beb64cb18453d> Rails seo friendly urls paul h <paul-nqL44GTounsJ3nxcUk3PyQ@public.gmane.org> Dec 03 06:49AM -0800 On Wednesday, November 28, 2012 10:00:49 AM UTC, jim wrote:> i think you need to use nested resources. I''m assuming that a product > belongs to a category so you > can use<http://groups.google.com/group/rubyonrails-talk/msg/c1e8f69b6ce6b9da> ...more Jordon Bedwell <envygeeks-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Dec 03 08:54AM -0600> I think the OP wants to hide the params completely, could he not create a > route that uses POST instead of GET?Why would you use post instead of get? There is no need to change <http://groups.google.com/group/rubyonrails-talk/msg/dcc30d6e79422c9a> ...more You received this message because you are subscribed to the Google Group rubyonrails-talk. You can <mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> post via email. To unsubscribe from this group, <mailto:rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> send an empty message. For more options, <http://groups.google.com/group/rubyonrails-talk/topics> visit this group. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Jordon Bedwell
2012-Dec-05 00:20 UTC
Re: Abridged summary of rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org - 37 Messages in 16 Topics
On Tue, Dec 4, 2012 at 5:09 PM, Arpit Prasad <arpit-n5cnAHJzFWLL9ATBNaCtXw@public.gmane.org> wrote:> We are seeking a front-end Rails developer who has experience developing > consumer facing web sites.You should also probably hire an IT team that can teach you how to create topics on mailing lists, mostly (and hopefully) without including almost every topic created this week on the Rails list. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Jim Ruther Nill
2012-Dec-05 00:27 UTC
Re: Abridged summary of rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org - 37 Messages in 16 Topics
On Wed, Dec 5, 2012 at 8:20 AM, Jordon Bedwell <envygeeks-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Tue, Dec 4, 2012 at 5:09 PM, Arpit Prasad <arpit-n5cnAHJzFWLL9ATBNaCtXw@public.gmane.org> > wrote: > > We are seeking a front-end Rails developer who has experience developing > > consumer facing web sites. > > You should also probably hire an IT team that can teach you how to > create topics on mailing lists, mostly (and hopefully) without > including almost every topic created this week on the Rails list. >From the looks of it, I think he tried to reply to a daily digest email instead of creating a new thread.> > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- ------------------------------------------------------------- visit my blog at http://jimlabs.heroku.com -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.