PDA

View Full Version : Ruby



Pages : 1 2 3 4 5 6 7 [8] 9 10 11 12

  1. How to configure session_store as memcache on a different server?
  2. Can someone point me to the docs of STDIN, the methods it provides?
  3. Would it be easier allowing people to logon to my app with their google account (openid) and then sh
  4. Can I construct the text of a mail to be sent by code, without using or requiring any view at all?
  5. Does it have a local variable block like a normal render partial method?
  6. How are people documenting their non-public REST API?
  7. How do I write this so that the cursor does not move forward by two positions?
  8. Is there any way I can define a named_scope on Category that looks for the existence of Products usi
  9. If I have a namespace :admin, a resource :users, and a member GET :freeze — that's admin_user_free
  10. Is there any way to detect that you're in the console environment?
  11. If I want to override a method in a gem, where in my app do I put that, in lib?
  12. If I was thinking about opensourcing a handler for the google base api, should I just release the li
  13. How come <%= params[:a] %> gets the :a parameter from the url when running on webrick, but does not
  14. What's the best way to execute a rake task from within rails?
  15. How does the gem get used?
  16. Are there sane defaults, with the config file overriding those, or do they have to have a config fil
  17. If I want to use a form_form on a custom object, is it enough to define an 'attr_accessor' for each
  18. How do I get the current path when I'm in a partial?
  19. When current stable works and supports all the features, why give up the stability?
  20. Is there any way to temporarily override mass-assignment protection for a particular call?
  21. Is there a Rails plugin that helps you manage delayed_job?
  22. Is there a way I can test (in tests) the amount of sql statements executed for a given block?
  23. How can I make a cross site domain request with prototype?
  24. If I have a typo somewhere... which file to look for to correct it and remigrate?
  25. How am I supposed to update my column values as soon as a new user is created?
  26. Is there a way to use something like validates_ to scrub input into actual fields (e.g., prevent HTM
  27. How best would you call a class method if you had a string containing the class name?
  28. When writing a migration for a many-to-many join table, what should the columns be?
  29. Is there a way to clear the data for one table in rake?
  30. Where is rails3 at currently?
  31. What do people think of the SEQUEL ORM vs ActiveRecord?
  32. What's the easiest way to filter out HTML/JS/etc _input_ in rails?
  33. Does anybody know how I combine pseudo classes with css?
  34. Is there anything wrong in theory with having a model that has a boat load of columns?
  35. Is there a desktop shortcut key for suse?
  36. Is there a cheap way to extract XMP data from photos?
  37. Is there a ruby way to format the difference between two times?
  38. Is there any good reason to use rails instead of node.js?
  39. Is it more efficient to grab sums and averages directly in my sql query or to do the math in rails?
  40. What people think. should I restrict author deleting theyr comment when there is more than 2 replys?
  41. Would the best way to truncate a string in ruby be string[0..20] + "..." ?
  42. Is there a way to turn a string, say "person_addresses", into the value of the corresponding url hel
  43. What is the opposite of File.open() for external files?
  44. What is the opposite of File.open() for external files?
  45. If I split a string inside of an array while looping through it in a do block, why doesn't the split
  46. How do you get activerecord to use translations?
  47. If I have tables 'foos' and 'bars' and I want to create a join table, would I do script/generate mod
  48. What's a better state machine plugin, acts_as_state_machine or workflow?
  49. Is there a way, maybe with before_filters, to turn each occurence of a certain string on my rendered
  50. How to use case sensitive search with dynamic finders?
  51. How do I find out where the non sudo'd gem list gems live?
  52. Is there a way to call the render method outside of a controller in rails3?
  53. Is it possible to specify a name in respond_to different from the action?
  54. Is there a restriction in RESTful routes when it comes to decimals?
  55. How can I turn of SQL logging for script/server in development?
  56. If I have a really large group of directories, and I want them moved into an app with a generator, w
  57. How do I install a plugin from a branch on github ?
  58. How difficult is it to add a REST api to a ror app?
  59. Is there a convenient way to convert a directory name string into a format that adds slashes before
  60. Is there a library that lets me specify something like "yyyy-mm-dd" or "Mmm dd" instead of using Rub
  61. Is it possible to have dynamic columns for rails in mysql database?
  62. How do you check that a class is available without trying to instantiate it first?
  63. Is lisp still used a lot, or has it sort of evolved into scheme?
  64. Is there a quick way to make some sort of enumerable like an array that has numbers from 0 to 100, u
  65. Are ranges useful in ruby?
  66. Is there a more metaprogramming-like way to create a lazy accessor with initial data for an attribut
  67. Whats the best way for me to get a sum of a y that grouped by column z?
  68. How do I ensure a layout in application.html.erb works on a view?
  69. Whats the best way to see if a user has seen a page already?
  70. Whats the best way to see if a user has seen a page already?
  71. Are there any other methods in your User model that are overriding quests?
  72. Is it possible that this version of will_paginate does not work for 2.3.8?
  73. Can I generate a popup box from a controller with a yes/no option?
  74. If I have a controller called users, an action called from and on the index I have a state drop down
  75. How do I create a localhost which just shows all client headers in the logs?
  76. Is there a tutorial for datetime_selects anywhere?
  77. Is there any way to know if the request was xhr?
  78. If in my migration I specify a column has a boolean value, what happens if the value is null in the
  79. How do you handle RESTful routing when the mockup you're supposed to bring to life mixes the form to
  80. What's the best way to get debug info about a variable?
  81. Where did form_remote_tag go in rails 3 ?
  82. Is it easy to count the time a user is spending on a page between say "the page loads" and "the user
  83. Whats the idiomatic ruby way to use the same code for multiple values in case?
  84. How do I make a post redirect in code?
  85. Whats the usual way to create and name simple boolean accessors in ruby?
  86. Is there a best practice for what webserver to use with the rails stack?
  87. Can someone say a good ruby book. something what gets right into it and doesntbeat around the bushes
  88. How do I set the params of a url using link_to ?
  89. Can I move paths so that the rvm set pats are resolved before the other paths?
  90. If I'm writing a wrapper for the amazon api, and I need to introduce some error handling, what's the
  91. If I pastie what I've done can someone tell me if I'm along the right lines?
  92. How are you all seperating user pages from public pages ?
  93. Can someone help me make a multistep form?
  94. How can I install ruby 1.8.7 (I currently have 1.8.6) without reinstalling it, totally?
  95. Does Rails escape user submitted data automatically or do I need to escape data before insertion?
  96. What is the authorization gem to be used?
  97. How can I get the name of an uploaded file in a controller?
  98. When a moderator moderates a bunch of photos on a page (typically 28 of them at once), he'll select
  99. Does it make sense to send some JSON to the Photos controller and let it handle individual updates?
  100. If I had two separate apps conntected to the same database, both potentially doing updates on the sa
  101. How could I use the method "translate" in rails console?
  102. Is there a way to run a .rb file from irb and have the variables defined in the .rb file stay alive
  103. Does google care whether my url is /poem/11/my-title instead of /poem/my-title or even /my-title ?
  104. How come range 0..74 in a for I in ()-loop is successful but 0..75 returns an error: "bad value for
  105. Is there a trick to getting custom actions (outside of the normal CRUD actions) to work in rails 3?
  106. How do I run an update_all, to set the value of a column to the same as another column?
  107. Is there a way to view PDF files on a web page?
  108. Is there a way to ask the user to confirm an action in a migration?
  109. Is still beating his head on the wall... gah how hard can it be to just decrement an item count in a
  110. Can someone tell me how this route would look in rails 3?
  111. Whats a good ruby way to perform something on the first run of a loop and only the first run?
  112. How to declare to use the plugin instead of the gem?
  113. How do you handle shallow routes in rails 3?
  114. Is there anyway to reload application code without making thin restart ?
  115. What is the difference between gem Mail and the default Rails ActiveMailer?
  116. What's the best way to do routing for a join table controller?
  117. Is it possible to do a OR insted of AND when using the where method?
  118. Is there a ruby equivalent to python's fabric?
  119. How do I downcase the next letter in a regexp match in gsub?
  120. If I make a new module that calls a method and include that module into a class, how can I get the m
  121. How can I get script/generate to work with a gem I installed in bundler?
  122. Can unicorn be used as rails server for development?
  123. Where can I find documentation for the "get" verb in rspec-rails?
  124. Isnt that kinda negating the whole point of their service (to be a seamless way to use amazon withou
  125. Is there a guide that explains how rails 2 to 3 migration will work?
  126. If I have data in-memory, can I give it right to paperclip with a file name or do I need to save it
  127. How may I send a delete request with format?
  128. Is there anyway to have rails tell MySQL not to lock, or is this something I will have to configure
  129. Is there a way to get only valid dates on the date picker?
  130. How do I update from beta4 to rc?
  131. What do you guys here use to build a website/blog with ruby/sinatra?
  132. Is there a way to get a cleaner terminal view besides moving the app to the home directory on my com
  133. Is there any reason why someone won't want to use shallow routes?
  134. If I have employees has_many assignments and employees belong_to an organization, how do I get all a
  135. Is it possible to alter a table to use a string as a primary key with a migration?
  136. Can I attach a method to an object instead of a class?
  137. Whats a good text based web browser. links, lynx, w3m, etc.?
  138. What exactly does this error mean?
  139. Is the "match" route method in Rails 3 documented fully anywhere?
  140. If I want to import some data in relation to some already existing models - do I only create a contr
  141. Is there a way to remove an object from the memory ?
  142. Does anybody know if counter_cache is still broken in rails 3 with polymorphic associations?
  143. Is there a good way to do that , I want to attach the country of specific city I input , how can I d
  144. How does that interface with a rails app though?
  145. How do I handle custom date formats for my database fields?
  146. How do I force my rake tasks under /lib/tasks to load configuration information?
  147. Can someone tell me for how long does an user session lasts by default?
  148. How do I configure my routes so that if someone tries, say, /site/event/2 but Event.find_by_id(2) do
  149. Whats a good authentication plugin/gem that can easily be customized for an app that uses 'log in wi
  150. Is there a rake task I can use to just load the db/schema.rb for the test environment?
  151. Is there a better way to assign a number of form fields to attributes on a model than obj.attributes
  152. How do I get rails to repopulate my form erb using the attr_accessors and not self[:attr] ?
  153. Whats a good authentication plugin/gem that can easily be customized for an app that uses 'log in wi
  154. How do I prevent a user from changing specific attributes of their own User model, given a role?
  155. When calling 'post :create' in a Rails 3 controller test, how can I set the request format?
  156. Can someone tell me a good authentication plugin that can be customized to work both with twitter/fa
  157. Is skip_before_filter :verify_authenticity_token still necessary in 2.3 if I'm posting to a REST ser
  158. Is tere any way I can get f.error_messages to use a lookup table for field names for the display mes
  159. How do I remove the :id in a migration?
  160. Where are you searching that you can only find rails server info from 2007?
  161. How can I merge two activerecord tables together?
  162. Is there some way in ruby to create a file from a string ?
  163. Is there a way I can debug why Rails thinks a particular route doesn't allow posts when I want it to
  164. Did the rails3rc release specify a recommended version of ruby?
  165. When I install rspec and rspec-rails using bundler (both now show up in my "bundle show"), I try "./
  166. If I want to get the value of auth token I use the name :authenticity_token, right?
  167. Can these extensions be written using non-blocking calls or select?
  168. Is there a flag to ruby 1.9.1 to assume that .rb files are UTF-8?
  169. Is there an equivalent of Perls "$&" in Ruby?
  170. Is there a way to rebuild the models and views to a table/project after you add in a column post tab
  171. Is one reason for the status quo that: extensions are based on 3rd party code (e.g. mysql c driver
  172. Did you know I can't match a route containing '~' (tilde) on rails 2.3?
  173. Is it possible to run all specs without running db:test:load?
  174. Can I create an url like objects?
  175. How do you specify a gem with a git repo in a jeweler?
  176. If a gem has a generator & requires a named route & a singleton resource, should the generator add t
  177. What do you think ive been doing all day, sitting here staring at my screen?
  178. How do you handle resources that require the parent for authorization purposes?
  179. How can I do a cascading :include when the tables have the same column names?
  180. When you use a_m_c, does it mean, that rails starts using the _with_cloudfront method?
  181. If a module is in another file, do I have to require it first before I use include?
  182. Can someone suggest what ActiveRecord data type should I use for percentage from 0 to 100, the simpl
  183. When I create a new scaffold rails add a comma after t.string in my migration file what can I be doi
  184. What's a good book/site to learn data structures and patterns for working with them?
  185. What is the point of /spec/requests, doesn't it do the same thing as /spec/routing?
  186. Is it possible to modify datetime_select to display a 12-hour select list for the hour and an am/pm
  187. Is it possible to use rails with ruby 1.9.1?
  188. When I add a line to the routes.rb file, must I reload it somehow for the new directive to take effe
  189. What do I need on windows to connect to heroku and make an app?
  190. If I have passenger&apach as well as passenger&nginx which one does the system preference pane refer
  191. Is there a way to create an enumerator from a function?
  192. Does anybody have a clue why I can't use "require 'rails'" in an ordinary ruby application?
  193. How do I change a particular line across 61 files using I guess ack-grep?
  194. Is there a way for me to access the postData (accessed via params[:post]) in my before_create callba
  195. Is it possible to use the image_tag method outside of a rails application?
  196. How do I track down an undefined local variable or method error?
  197. Is there a plugin for making resource URLs like /posts/4-title-of-the-post ?
  198. What is the best way to turn an md5 into a string only containing letters?
  199. Is there some kind of session key that is uniqe for the current user?
  200. Is there any rails magic that will allow me to populate the city dropdown box after a state is selec
  201. How would I modify this http://gist.github.com/499399 to only count tags where the users.age_verifie
  202. What is the best choice for to run ror on apache?
  203. How would I pass a variable/paramter to a controller if a routing condition is met?
  204. Is there a way I can look at heroku's server logs somehow so I can find the source of this error?
  205. What's the correct (rails) way to validate email addresses?
  206. Is there a way to save and validate a single field?
  207. What's the modern way of forcing SSL on people in an app ?
  208. If I call a class method, why do I need to do self << class to get into the proper context for alias
  209. Is there something extra I have to do in migrations to set these relations up in postgres?
  210. Is there a way to check if a variable is an integer?
  211. If I include Devise::TestHelpers in a Rspec describe call should the methods defined in that module
  212. When loading the console and if I wanna search through modles with the find_by_name can I just use w
  213. If email-spec isn't finding an email. and that's the only error it gives, where do I need to start l
  214. Do I have to install ruby first to be able to use gem?
  215. Is there any way to capture exception when mysql is down?
  216. How does RubyonRails compare to django?
  217. Is this the best place for 1.9 rdoc?
  218. Whats the procedre for forking a gem these days?
  219. What is a good strategy for making my code compatible with 1.8 and 1.9, when I have my own random.rb
  220. How is using jQuery instead of Prototype in Rails 3.0.0rc supposed to work?
  221. Do people build their own CMS or use 3rd party when designing a website for clients to administer th
  222. Is it easy to switch JS frameworks in rails?
  223. How can I reference a factory in FactoryGirl from the inside of itself?
  224. Can I get a filters collection anywhere from in the controller?
  225. Can I call another class inside a model method?
  226. How do I get my .pdf to show up in the browser and not download a file?
  227. Is it not allowed to use pass in a heredoc as a method parameter?
  228. What does using a plugin like acl9 or declarative auth do for you that cancan doesn't?
  229. Is it reasonable to test inter-model relationships in a unit test?
  230. Are there known problems using mysql 5.5 with rails?
  231. If my model validated_length_of my field, is there any way to get the min/max values in my view?
  232. Would you guys suggest moving a yet to be released Rails 2 project over to Rails 3 yet?
  233. How does the current implementation work?
  234. Do you guys put foreign key constraints in database level in Rails?
  235. Can I stop ruby-mode in emacs from inserting "# -*- coding: utf-8 -*-" type comments on buffer save?
  236. When a city belongs to a state, and I need to redirect to the page of the city in the city's control
  237. If my object has @o.wednesday and I have the string "wednesday" how can I get this value?
  238. Is there any way I could determine the column names by looking at the code or the database?
  239. Is Iron Ruby 100% compatible with the "real" ruby interpreter?
  240. Does anybody know, will FFI ship with MRI starting from 1.9.2 release?
  241. Where can I find pluralization rules for I18n in Rails 3?
  242. How can I tell bundler to install ri and rdoc documentation along with (possibly a subset) of gems?
  243. Is there a way to make an object evaluate as a value (an implicit method call on itself) when a meth
  244. Is there an easy way to select all objects with a start_date in a month?
  245. What happens if they have to change the api in a final version?
  246. Can someone take a quick look at my code?
  247. Can people comment on the utility of what I've written?
  248. Is there a reason this couldn't be used in some big giant system?
  249. Is it possible to use a named scope while finding with a :join ?
  250. How does the general population of #ror feel about mongodb vs mysql?