Hi All,
I have an application where a user is using basic auth to login. I am
using the filter_parameter_logging :password to filter out the
password in the logs, but the benchmark logging is still showing the
full query string unfiltered.
Are there any suggested ways for filtering the password
Sorry for my english if something goes wrong.
I have a model of Property
class Property ActiveRecord:: Base
has_many: values,: class_name = ProductProperty
End
And correspondingly ProductProperty model in which values are stored.
class ProductProperty ActiveRecord:: Base
belongs_to:
Shyam M. wrote in post #987465:
Hi all
What is best Ruby programming practice for Rails 3 (ruby 1.9 )?
please share here your exp on ruby for rails 3 or
Thanks and regards,
Shyam
ruby on rails developer
Mobile : +91(0)86-8846-8400
Web : Shyam.heroku.com http://shyam.heroku.com/
Hi
Mohnish J. wrote in post #992221:
Walter Davis wrote in post #992117:
On Apr 11, 2011, at 6:05 AM, Mohnish G j wrote:
choice on that ..:) .
In case you aren't able to get a better understanding of what I have
complete method is allowing me to modify the basic functionality to
- Group
Well, I'm going to break the rules and post a reply to my own message -
mostly because nobody else has replied! Which makes me think that what I'm
trying to do below isn't right.
I've done a little poking around in projects written in rails I was able to
find on github. I'm seeing a pattern
what are these called? are they objects? or methods?
I cant seem to find the right word on how to search more of these
things..and then I can find maybe a cheat sheet so that I could
familiarize more of those thigs above.. TY for the replies.
--
Posted via http://www.ruby-forum.com/.
--
You
Ahmed
try this
sudo apt-get install libxslt1-dev
--
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, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this
class Property ActiveRecord:: Base
has_many: values,: class_name = ProductProperty
End
It was in the original model.
In the amended accordingly will:
class Property ActiveRecord:: Base
has_many :string_values,: class_name = ProductPropertyString
has_many :integer_values,: class_name =
Hi all,
I am VP Technology of a Germany based dating portal and I can assure
you there is quite some need for Ruby / Rails / Sinatra / Front-End
technologies developer here in Germany. RoR is still seen as emerging
technology - but quite some recently launched portals utilize RoR
technologies (at
`type` attribute is of which model ?? I guess it is of property model and
`values` method wrote inside property model, right ?
ProductPropertyString, ProductPropertyBoolean, ProductPropertyInteger are
these models ??
if yes, why do you need association ?
has_many: values,: class_name =
Hi all,
I am VP Technology of a Germany based dating portal. We just recently
launched our latest product in this space on RoR technologies (RoR 3.0
- JRuby - mongoDB). What I see here in Germany is quite some portals -
recently launched - utilizing technologies like Ruby / Sinatra /
Rails. Hence
On 12 April 2011 08:48, Ad Ber li...@ruby-forum.com wrote:
what are these called? are they objects? or methods?
I cant seem to find the right word on how to search more of these
things..and then I can find maybe a cheat sheet so that I could
familiarize more of those thigs above.. TY for the
Hi David,
Regarding your outlook on functional testing, you're basically correct. The
goal of these is to isolate the code contained in the controller layer, and
if you're following skinny-controller/fat-model best practice, these tests
will generally be pretty basic -- essentially, handle the
I'm new here and I wanna make some marketing to Redcar
Editorhttp://redcareditor.com
.
I have used this amazing editor for a while and I have to applaud it.
It's an excellent free (as in speech) alternative to TextMate.
It's made on Ruby (run on JRuby), so it has the heart of the Ruby community.
Ok, trying now!
Em 11/04/2011, às 19:55, caiof...@gmail.com escreveu:
I'm new here and I wanna make some marketing to Redcar Editor.
I have used this amazing editor for a while and I have to applaud it.
It's an excellent free (as in speech) alternative to TextMate.
It's made on Ruby (run
i tried to generate a database .The config/database.yml file hold following
for the development environment
adapter: mysql
database: blogg
username: root
password: 12345
socket: /var/run/mysqld/mysqld.sock
rails -v=2.3.8
gem -v= 1.3.7
ruby -v=ruby 1.8.7 (2010-01-10 patchlevel
On Apr 12, 12:46 pm, amritpal pathak amritpalpath...@gmail.com
wrote:
i tried to generate a database .The config/database.yml file hold following
for the development environment
adapter: mysql
database: blogg
username: root
password: 12345
socket: /var/run/mysqld/mysqld.sock
Michael Pavling wrote in post #992259:
On 12 April 2011 08:48, Ad Ber li...@ruby-forum.com wrote:
what are these called? are they objects? or methods?
I cant seem to find the right word on how to search more of these
things..and then I can find maybe a cheat sheet so that I could
familiarize
Thank you for you help Bryan, I am very satisfied by our answer.
I will try to tell my host that to upgrade their environment.
Thank for all who tried to help and also thanks for Fred for early
answer.
Cheers all,
Faisal
On Apr 10, 12:25 am, Bryan Crossland bacrossl...@gmail.com wrote:
On Sat,
On Apr 12, 8:00 am, Frederick Cheung frederick.che...@gmail.com
wrote:
On Apr 12, 12:46 pm, amritpal pathak amritpalpath...@gmail.com
wrote: i tried to generate a database .The config/database.yml file hold
following
for the development environment
adapter: mysql
database: blogg
Hi Rcommunity!
small refactoring question here. This is code:
def login_block
ret =
ret += div class='right wrapper'
ret +=strong#{current_user_full_name}/strong
ret += span|/span
ret += image_tag(logout.png)
ret += span#{link_to t('logout'),'#',:id =
I'm triying to find a memory leak with memprof. I'm using in
environmet.rb:
Memprof.dump_all('/tmp/test.json')
after uploading to memprof.com I can see following:
* objects with most outbound references
2318 classes and 384 modules
* namespace hierarchy
* class hierarchy
*
Use a partial?
--
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+unsubscr...@googlegroups.com.
For more
I just tried it out, so far I like it! Im doing my development with Ubuntu
in VMware which is running on 3 GB RAM. Well, rather than use netbeans, I
choose gedit to save some resources. But I need a light editor which has
more feature for rails project, I think redcar could help. Thanks!
On Tue,
TinyMCE is shit!
Oh and if you dare use it, remember to activate the option to not
convert special characters to html entities or your data is doomed.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
Here's one way to refactor it using an array and content_tag.
content = [
content_tag(:strong, current_user_full_name),
content_tag(:span, |),
image_tag(logout.png),
content_tag(:span, link_to(t('logout'), '#', :id = 'fb_logout'))
]
return content_tag(:div, content.join(\n), :class =
Use Quantaplus. I have tried around 10 editors. it is the best of
them.
On Apr 10, 12:18 am, Vito Botta li...@ruby-forum.com wrote:
Hi all,
would you recommend something to integrate rich text editor capabilities
in a Rails app?
I am currently looking at integrating Zoho Writer since it's
On Apr 12, 2011, at 2:56 AM, Mohnish J. wrote:
Mohnish J. wrote in post #992221:
Walter Davis wrote in post #992117:
On Apr 11, 2011, at 6:05 AM, Mohnish G j wrote:
choice on that ..:) .
In case you aren't able to get a better understanding of what I
have
complete method is allowing me
On Mon, Apr 11, 2011 at 10:14 PM, Peter Bell pe...@pbell.com wrote:
On Apr 11, 2011, at 8:29 PM, xyz wrote:
Is there enough business for one man operations out there?
There is a *huge* amount of business out there. I do Java, Groovy/Grails,
C#, ColdFusion and Python and I'm pretty well
Hello everyone
Has anyone a suggestion about how to implement an email verification
system with rails 3 ?
By this I mean, a user subscribes (sign up) receives an email
with a link and has to follow that link to change the status of the
user, only after that the user can login.
What's the best
Devise implements this out of the box. You need to implement the
:confirmable option on you migration and model, and you'll be all set.
On Tue, Apr 12, 2011 at 6:07 PM, Thomas Tomtom li...@ruby-forum.com wrote:
Hello everyone
Has anyone a suggestion about how to implement an email
i did
cd blog
script/server and got follwoing message .
= Booting WEBrick
= Rails 2.3.8 application starting on http://0.0.0.0:3000
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:62:in
`establish_connection':
Try: rake db:create
On Tue, Apr 12, 2011 at 7:00 PM, amritpal pathak
amritpalpath...@gmail.comwrote:
i did
cd blog
script/server and got follwoing message .
= Booting WEBrick
= Rails 2.3.8 application starting on http://0.0.0.0:3000
On Apr 11, 8:34 am, Ahmed Eldawy li...@ruby-forum.com wrote:
You can use Rasemhttps://github.com/aseldawy/rasem
to generate SVG images from your ruby source code. Check it out. It's
still in Alpha release but it looks good. At least, you can use it now
for simple images.
You didn't mention
On Apr 12, 2011, at 10:22 AM, David Kahn wrote:
On Mon, Apr 11, 2011 at 10:14 PM, Peter Bell pe...@pbell.com wrote:
On Apr 11, 2011, at 8:29 PM, xyz wrote:
Is there enough business for one man operations out there?
There is a *huge* amount of business out there.
I am curious what
ret = EOS
div class='right wrapper'
strong#{current_user_full_name}/strong
..
EOS
On Apr 12, 8:48 am, Burebista li...@ruby-forum.com wrote:
Hi Rcommunity!
small refactoring question here. This is code:
def login_block
ret =
ret += div class='right wrapper'
ret
I've searched and search, tried a number of things like unstalling
sqlite3 and reinstalling. Reinstalling Rails, building sqlite3 from
source, etc. Nothing seems to work. When I try to start up my server I
get the following:
MacBook-Pro:splash Ross$ rails server
/Volumes/Macintosh
Hi,
I installed rvm recently I have a problem when I launch the rails 3
console ( or rails 3 app) it doen't find my gems.
Here is my console:
Loading development environment (Rails 3.0.3)
ree-1.8.7-2011.03 :001 require rubygems
= nil
ree-1.8.7-2011.03 :002 require simple-rss
LoadError: no
Hey everyone,
I've got a curious issue with Devise 1.2.1 on Rails 3.0.5. I've got
everything working quite nicely with one small problem: the navigation
links for my site that exist in the application controller get changed
when on the devise views. For example, a link that would be
Phil
On Tue, Apr 12, 2011 at 4:00 PM, Jeff Miller li...@ruby-forum.com wrote:
Hey everyone,
I've got a curious issue with Devise 1.2.1 on Rails 3.0.5. I've got
everything working quite nicely with one small problem: the navigation
links for my site that exist in the application controller
On 12 Apr 2011, at 20:30, Ross Rankin li...@ruby-forum.com wrote:
I've searched and search, tried a number of things like unstalling
sqlite3 and reinstalling. Reinstalling Rails, building sqlite3 from
source, etc. Nothing seems to work. When I try to start up my server I
get the
I've been working on the internal app for my company which is well
over 4 years old. First commit was using Rails 1.1.6.
I'm now at 2.3.11 and I have a branch of my code that is converted to
3.0.6, but I just noticed a problem. The Rails 3 branch is pushing
timestamps with time zone
I was thinking of buying the above mentioned book, but since it's from
2007, I thought it would be wiser to ask here if I can still make use of
the things in it, or are they too outdated?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the
Thank you, sir - you've saved my bacon as well as my mind.
--
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, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe
Where's the native extension stored?
--
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, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send
On 12 Apr 2011, at 23:10, Ross Rankin li...@ruby-forum.com wrote:
Where's the native extension stored?
Some where inside the gem. gem which foo tells you where the files are for the
gem name foo
Fred
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
Greetings all,
I'm having a weird problem with a habtm relationship and honestly
I'm beginning to think I may have stumbled upon some weird bug in
rails 3. Surely I'm crazy though. I've been beating my head against
the wall on this for 3 days, have googled everything under the sun I
can think
I am running Rails 3.0.3. I am using the below line of code to
generate a list of possible time zones.
%= form.time_zone_select :time_zone, ActiveSupport::TimeZone.us_zones
%
However, the options at least for the US are off by one hour. It for
example lists the Eastern Time zone as +5 relative
Thanks a lot, there was a problem in the list_per_customer template..it
works now.
On Mon, Apr 11, 2011 at 3:10 AM, Frederick Cheung
frederick.che...@gmail.com wrote:
On Apr 10, 8:11 pm, RailsNewbie dba...@gmail.com wrote:
I am new to Rails and have a simple problem where I am trying to
49 matches
Mail list logo