Ruby on Rails Tuesday, December 4, 2012

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@googlegroups.com [mailto:rubyonrails-talk@googlegroups.com]
Sent: Tuesday, December 4, 2012 12:39 AM
To: Abridged Recipients
Subject: [Rails] Abridged summary of rubyonrails-talk@googlegroups.com - 37 Messages in 16 Topics

 

Group: 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]

thil <thil.1212@gmail.com> 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 ...more

thil <thil.1212@gmail.com> 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:
...more

tamouse mailing lists <tamouse.lists@gmail.com> 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?
...more

Jim Ruther Nill <jvnill@gmail.com> 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, ...more

Jim Ruther Nill <jvnill@gmail.com> 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 scoped
 
the last line that ...more

"Ciunix M." <lists@ruby-forum.com> Dec 03 04:41PM +0100  

Hi all
 
I'm following this guide:
 
http://railscasts.com/episodes/235-omniauth-part-1?language=it&view=asciicast
 
 
when I try to connect by twitter (localhost:3000 or 127.0.0.1:3000) I ...more

tamouse mailing lists <tamouse.lists@gmail.com> 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 ...more

Robert Buck <lists@ruby-forum.com> 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.
...more

Robert Buck <lists@ruby-forum.com> 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:
 
-- ...more

Frederick Cheung <frederick.cheung@gmail.com> 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.
...more

John <mr.johnamato@gmail.com> 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"> ...more

Will <lliamhendricks@gmail.com> 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:
...more

Mikaele Pereira <mikaele164@gmail.com> 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'
...more

"Derk D." <lists@ruby-forum.com> 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 ...more

Colin Law <clanlaw@googlemail.com> 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 ...more

"Derk D." <lists@ruby-forum.com> 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.
 
-- ...more

Colin Law <clanlaw@googlemail.com> Dec 03 03:50PM  

On 3 December 2012 15:45, Derk D. <lists@ruby-forum.com> wrote:
 
Please don't top post, it makes it difficult to follow the thread.
Insert your reply at appropriate point(s) in previous message. ...more

"Derk D." <lists@ruby-forum.com> 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; ...more

Colin Law <clanlaw@googlemail.com> 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 ...more

"Derk D." <lists@ruby-forum.com> 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 ...more

amkirwan <amkirwan@gmail.com> 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') ...more

Erwin <yves_dufour@mac.com> 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, ...more

Norbert Melzer <timmelzer@gmail.com> 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.
...more

Erwin <yves_dufour@mac.com> 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"){ ...more

Erwin <yves_dufour@mac.com> 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 ...more

Erwin <yves_dufour@mac.com> 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) } ...more

Norbert Melzer <timmelzer@gmail.com> 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@mac.com>
 
...more

Phillip <omsdialogue@gmail.com> 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:
...more

Chase de Languillette <chase.delanguillette@gmail.com> 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 ...more

S Ahmed <sahmed1020@gmail.com> 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 ...more

johnnybutler7 <johnnybutler7@gmail.com> 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 ...more

fuzzy <hlogoma@gmail.com> 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 < ...more

Jordon Bedwell <envygeeks@gmail.com> 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 ...more

fuzzy <hlogoma@gmail.com> Dec 03 07:05AM -0800  

Thanks Jordon ... I take your point ... I begin with some sites
discussing both these issues, authentication, and authorization.
 
fuzzy.
 
...more

Guirec Corbel <guirec.corbel@gmail.com> 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 ...more

paul h <paul@hollyer.me.uk> 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
...more

Jordon Bedwell <envygeeks@gmail.com> 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 ...more

You received this message because you are subscribed to the Google Group rubyonrails-talk.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, 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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment